download_demographic {ColOpenData}R Documentation

Download demographic dataset

Description

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

Usage

download_demographic(dataset)

Arguments

dataset

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

Value

data.frame object with downloaded data.

Examples


house_under_15 <- download_demographic("DANE_CNPVH_2018_1HD")
head(house_under_15)


[Package ColOpenData version 1.0.0 Index]