Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtrecenti/bnmp
Web Scraping Banco Nacional de Monitoramento de Prisoes
https://github.com/jtrecenti/bnmp
Last synced: about 2 months ago
JSON representation
Web Scraping Banco Nacional de Monitoramento de Prisoes
- Host: GitHub
- URL: https://github.com/jtrecenti/bnmp
- Owner: jtrecenti
- License: other
- Created: 2023-08-02T18:09:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-02T19:21:22.000Z (over 1 year ago)
- Last Synced: 2024-10-17T14:34:06.809Z (3 months ago)
- Language: R
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# bnmp
The goal of bnmp is to download and process data from the 'Banco Nacional de Monitoramento de Prisões' (BNMP) of the Brazilian National Council of Justice (CNJ).
## Installation
You can install the development version of bnmp from GitHub:
```r
remotes::install_github("jtrecenti/bnmp")
```## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
library(bnmp)id_uf <- 26
listar_municipios(id_uf)
``````{r example2}
# adamantina
id_muni <- 8610
buscar_muni(id_muni) |>
dplyr::glimpse()
```## License
MIT