-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
49 lines (32 loc) · 1.06 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# tjma
<!-- badges: start -->
[![R build status](https://github.com/jjesusfilho/tjma/workflows/R-CMD-check/badge.svg)](https://github.com/jjesusfilho/tjma/actions)
<!-- badges: end -->
O Objetivo deste pacote é coletar, organizar e analisar dados do Tribunal de Justiça do Maranhão
## Intalação
Para instalar a versão em desenvolvimente, proceda da seguinte forma no console do R:
``` r
remotes::install_github("jjesusfilho/tjma")
```
## Utilização
Por ora, há apenas uma função para baixar a jurisprudência do TJMA. Ela salva as tabelas em rds. Depois disso, basta ler.
```r
library(tjma)
library(purrr)
dir.create("tjma_cjsg")
tjma_baixar_cjsg(livre = "indígena", diretorio = "tjma_cjsg")
arquivos <- list.files("tjma_cjsg", full.names = TRUE, pattern = "rds$")
cjsg <- map_dfr(arquivos, readRDS)
```