View source: R/descargar_datos_receptor.R
descargar_datos_receptor | R Documentation |
This function has been designed to download and consolidate JSON files from the webpage 'presupuestoabierto.gob.cl'. The output is a data set with all the information of recipients of public resources per year.
descargar_datos_receptor(ruts, years, val = FALSE)
ruts |
A vector with the 'rut' of each recipient to download. |
years |
A vector with the years to download. |
val |
Logical. Delete variables that contain only NA? FALSE by default. |
Return a data set with all the information of recipients of public resources per year.
Hugo Mansilla
fromJSON
select
## Not run: descargar_datos_receptor(c("70005600-7","81591900-9"),c(2016,2017,2018,2019),val=TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.