Learn R Programming

ColOpenData (version 1.0.0)

download_demographic: Download demographic dataset

Description

This function downloads demographic datasets from the National Population and Dwelling Census (CNPV) of 2018.

Usage

download_demographic(dataset)

Value

data.frame object with downloaded data.

Arguments

dataset

character with the demographic dataset name. Please use list_datasets("demographic", "EN") or list_datasets("demographic", "ES") to check available datasets.

Examples

Run this code
if (FALSE) { # identical(tolower(Sys.getenv("NOT_CRAN")), "true")
house_under_15 <- download_demographic("DANE_CNPVH_2018_1HD")
head(house_under_15)
}

Run the code above in your browser using DataLab