Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/SoyAndrea/arcenso
Browse files Browse the repository at this point in the history
  • Loading branch information
SoyAndrea committed Oct 19, 2024
2 parents c9a62ff + 3032db9 commit 94c5a1d
Show file tree
Hide file tree
Showing 51 changed files with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions R/check_repository.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#' Title
#'
#' @param year
#' @param topic
#' @param geolvl
#'
#' @return
#' @export
#'
#' @examples
check_repository <- function( year = 1970, topic = NULL, geolvl = NULL){

if(year != 1970) stop(paste0("El año ", year, " todavia no fue cargado en AR_CENSO o no es un año censal"))

load("data/info_cuadros_arcenso.rda")
repo <- list.files("data/", full.names = T)

selec <- info_cuadros_arcenso[info_cuadros_arcenso$anio %in% year & info_cuadros_arcenso$PKG %in% "SI", ]

if(!is.null(topic)){

if(!topic %in% unique(selec$tema)) stop(c("Temática elegida inválida \nLas temáticas disponibles para el año seleccionado son: \n", paste(unique(selec$tema), "\n")))

selec <- selec[selec$tema %in% topic, ]
}
if(!is.null(geolvl)){
selec <- selec[grepl(geolvl, selec$Jurisdiccion), ]
}


lista_cuadros <- info_cuadros_arcenso[info_cuadros_arcenso$Archivo %in% selec$Archivo, c("Archivo", "Titulo")]

return(lista_cuadros)

}
Binary file added data/1980/c80_totaldelpaís_vivienda_c1.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c10.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c11.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c2.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c3.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c4.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c5.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c7.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c8.RDS
Binary file not shown.
Binary file added data/1980/c80_totaldelpaís_vivienda_c9.RDS
Binary file not shown.
Binary file added data/1980/c80b_buenosaires_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_capitalfederal_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_catamarca_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_chaco_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_chubut_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_cordoba_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_corrientes_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_entrerios_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_formosa_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_jujuy_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_lapampa_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_larioja_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_mendoza_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_misiones_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_neuquen_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_rionegro_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_salta_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_sanjuan_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_sanluis_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_santacruz_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_santafe_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_santiagodelestero_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_tierradelfuego_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a1.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a10.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a11.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a12.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a13.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a14.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a15.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a2.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a3.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a4.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a5.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a6.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a7.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a8.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_a9.RDS
Binary file not shown.
Binary file added data/1980/c80b_totalpais_e1.RDS
Binary file not shown.
Binary file added data/1980/c80b_tucuman_a1.RDS
Binary file not shown.

0 comments on commit 94c5a1d

Please sign in to comment.