Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soyandrea/arcenso

Data from Argentina’s Population Census
https://github.com/soyandrea/arcenso

argentina census-data package r

Last synced: 6 days ago
JSON representation

Data from Argentina’s Population Census

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# **ARcenso**

## Overview

This project was supported by the [rOpenSci Champions Program](https://ropensci.org/blog/2024/02/15/champions-program-champions-2024/) 2023-2024, with [Andrea Gomez Vargas](https://github.com/SoyAndrea) as the main developer and [Luis D. Verde Arregoitia](https://github.com/luisDVA) as the mentor.

**arcenso** is a package under development that will allow access to the official data of the national population censuses in Argentina from the National Institute of Statistics and Census - INDEC. Currently, the results of the historical censuses of 1970, 1980, 1991, 2001, 2010 and 2022 are available in different formats through physical books, PDFs, Excel files or in REDATAM, without having a unified system or format that allows working with the data of these six census periods as a database. In addition, the presentation of the data is not homogeneous between the periods, making it difficult to make historical or serial comparisons of the available information.

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.**

![](man/figures/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")
```

## Main functions

**arcenso** provides

- `get_census()`: get a list with the tables currently available in the package

- `check_repository()`: reports the tables currently available in the package

- `arcenso()`: shinyapp to query the available tables in the package

## Usage

```{r example}
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")

## reports the tables currently available in the package

check_repository(year = 1970, topic = "CONDICIONES HABITACIONALES", geolvl = "Total del país")
```