View source: R/descargar_datos_region.R
descargar_datos_region | 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 public resources by region of Chile per year.
descargar_datos_region(region, years)
region |
A vector with the number of each region to download. |
years |
A vector with the years to download. |
Return a data set with all the information of public resources by region per year.
Hugo Mansilla
fromJSON
select
## Not run: descargar_datos_region(region=12,c(2016,2017,2018,2019,2020)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.