psql_cjpg: Applies functions baixar_cjpg from package tjsp and sends...

Description Usage Arguments Value Examples

View source: R/psql_cjpg.R

Description

The dbAppendTable() method assumes that the table has been created beforehand,

Usage

1
psql_cjpg(con, tbl, ...)

Arguments

con

PostgreSQL db connection

tbl

Table name. It requires that have already created it.

...

Other arguments passed to 'tjsp::baixar_cjpg', except directory.

Value

It doesn't return anything.

Examples

1
2
3
4
5
6
7
8
## Not run: 
con<-dbx::dbxConnect()
DBI::dbCreateTable(con,"cjpg",
                  fields=c("processo", "classe", "assunto", "magistrado", "comarca", "foro", 
                               "vara", "disponibilizacao", "julgado"))
 psql_cjpg(con,"cjpg",livre="feminicidio")                      

## End(Not run)

renanperlati/TJSP documentation built on Dec. 22, 2021, 2:59 p.m.