Skip to content

Commit

Permalink
update roadmap
Browse files Browse the repository at this point in the history
  • Loading branch information
SoyAndrea committed Nov 27, 2024
1 parent 567c8de commit cd36ec1
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion R/check_repository.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' check_repository
#'reports the tables currently available in the package
#' @param year census year for which the user wants to view the currently available tabulations. The default is “1970”.
#' @param topic census topic of the tables Setting the parameter to NULL will download all available tables.
#' @param topic census topic of the tables available: ESTRUCTURA DE POBLACION, CONDICION DE ACTIVIDAD, FECUNDIDAD, CONDICIONES HABITACIONALES, COMPOSICIÓN DE LO HOGARES, MIGRACIÓN, SITUACIÓN CONYUGAL y EDUCACION. Setting the parameter to NULL will download all available tables.
#' @param geolvl geographic disaggregation level, use “Total del país” for the overall results. Setting the parameter to NULL will download all available tables.
#'
#' @return Returns a data frame with the title of the tables that can be acces with the get_census function and the name given by that function to each table
Expand Down
2 changes: 1 addition & 1 deletion R/get_census.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' get_census
#'get a list with the tables currently available in the package
#' @param year census year for which the user wants to view the currently available tabulations. The default is “1970”.
#' @param topic census topic of the tables Setting the parameter to NULL will download all available tables.
#' @param topic census topic of the tables available: ESTRUCTURA DE POBLACION, CONDICION DE ACTIVIDAD, FECUNDIDAD, CONDICIONES HABITACIONALES, COMPOSICIÓN DE LO HOGARES, MIGRACIÓN, SITUACIÓN CONYUGAL y EDUCACION. Setting the parameter to NULL will download all available tables.
#' @param geolvl geographic disaggregation level, use “Total del país” for the overall results. Setting the parameter to NULL will download all available tables.
#'
#' @return Returns a list with the tables that meet the parameters. To check the tables currently available use the check_repository function
Expand Down
9 changes: 7 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ This project was supported by the [rOpenSci Champions Program](https://ropensci.

This package aims to make census data available, homogenized and ready to use. It will include the census data from 1970 to 2022. Having a package of census information will allow the public and private sectors, citizens and other actors in society to access current and historical information on Argentina’s population, households and housing in a more accessible way.

> **The available data will be added to the package in stages as shown in the graphic below by year and geographic disaggregation. Currently, the package is in stage 1 of the roadmap.**
![](docs/roadmap.png)

## Installation

You can install the development version of arcenso from [GitHub](https://github.com/) with:

``` r
# install.packages("remotes")
# if you do not have remotes installed

remotes::install_github("SoyAndrea/arcenso")
```

Expand All @@ -63,10 +68,10 @@ library(arcenso)
## get a list with the tables currently available in the package
get_census( year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
get_census(year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
## reports the tables currently available in the package
check_repository( year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
check_repository(year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
```
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ citizens and other actors in society to access current and historical
information on Argentina’s population, households and housing in a more
accessible way.

> **The available data will be added to the package in stages as shown
> in the graphic below by year and geographic disaggregation. Currently,
> the package is in stage 1 of the roadmap.**
![](docs/roadmap.png)

## Installation

You can install the development version of arcenso from
Expand Down Expand Up @@ -61,7 +67,7 @@ library(arcenso)

## get a list with the tables currently available in the package

get_census( year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
get_census(year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
#> $c70_total_del_pais_poblacion_c18
#> regimen_de_tenencia hogares personas cuartos
#> 1 Propietario 3553250 13778700 11197900
Expand Down Expand Up @@ -136,7 +142,7 @@ get_census( year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total d

## reports the tables currently available in the package

check_repository( year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
check_repository(year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
#> Archivo
#> 1 c70_total_del_pais_poblacion_c18
#> 2 c70_total_del_pais_poblacion_c20
Expand Down
2 changes: 1 addition & 1 deletion man/check_repository.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/get_census.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cd36ec1

Please sign in to comment.