list_census_datasets: Query the CensusMapper API for available datasets.

Description Usage Arguments Value Examples

View source: R/cancensus.R

Description

Query the CensusMapper API for available datasets.

Usage

1
list_census_datasets(use_cache = FALSE, quiet = FALSE)

Arguments

use_cache

If set to TRUE, data will be read from a local cache, if available. If set to FALSE (the default), query the API for the data, and refresh the local cache with the result.

quiet

When TRUE, suppress messages and warnings.

Value

Returns a data frame with a column dataset containing the code for the dataset, and a column description describing it.

Examples

1
2
# List available datasets in CensusMapper
list_census_datasets()

cancensus documentation built on Feb. 4, 2018, 5:02 p.m.