Data · dataset · 2026
BrazilCrime: R code examples for data extraction, analysis, and forecasting
Listed in REDU - Unicamp Institutional Research Data Repository
This dataset provides R scripts illustrating the main functionalities of the BrazilCrime package.
Description
The code demonstrates how to extract, organize, visualize, and analyze public security data from the Brazilian National Public Security Information System (SINESP). The examples include data retrieval at different levels of aggregation, exploratory graphical analysis, and automated time-series forecasting based on ARIMA models.
All data accessed through the scripts are publicly available and remain under the responsibility of the Brazilian National Secretariat of Public Security (SENASP). The BrazilCrime package serves solely as an interface to access and manipulate these data in R.
Links
Where it is published
- Dataverse dataset page redu.unicamp.br/dataset.xhtml?persistentId=doi%3A10.25824%2Fredu%2FKHLPTC ↗
landing page · from redu unicamp br
- DOI doi.org/10.25824/redu/khlptc ↗
DOI / persistent id · from redu unicamp br
Catalogue records · 1
- Dataverse API redu.unicamp.br/api/datasets/:persistentId/?persistentId=doi%3A10.25824%2Fredu… ↗
metadata API · from redu unicamp br
Topics
- Stated by source
- Social Sciences
- From keywords
- Social Science
- Inferred from text
- Criminology 70%
Provenance · 1 source records, 9 field assertions
| Source | Key | Last seen | Raw |
|---|---|---|---|
| REDU - Unicamp Institutional Research Data Repository | doi:10.25824/redu/KHLPTC | 11 d ago | JSON v1 |
| Field | Assertion | Extractor | Evidence |
|---|---|---|---|
| concepts[field].anzsrc:group:4402 | enrichment · redu unicamp br | taxonomy-embedding@1.1.0 | title+keywords+description (70%) |
| concepts[field].dataverse_subject:social-sciences | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | /subjects |
| concepts[field].local:field:social-science | mapping · redu unicamp br | connector:redu_unicamp_br@1.0.0 | /subjects |
| created_date | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | |
| description | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | /description |
| publication_date | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | |
| title | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | /name |
| updated_date | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 | |
| version_label | source · redu unicamp br | connector:redu_unicamp_br@1.0.0 |