cancensus0.5.7 package

Access, Retrieve, and Work with Canadian Census Data and Geography

add_unique_names_to_region_list

Convenience function for creating unique names from region list

as_census_region_list

Convert a (suitably filtered) data frame from list_census_regions to...

census_vectors

Return Census variable names and labels as a tidy data frame (Deprecat...

child_census_vectors

List all child variables from vector hierarchies given either a list o...

dataset_attribution

Get attribution for datasets

explore_census_regions

Interactively browse Census variables and regions on Censusmapper.ca i...

explore_census_vectors

Interactively browse Census variables and regions on Censusmapper.ca i...

find_census_vectors

Query the CensusMapper API for vectors using exact, semantic, or keywo...

get_census

Access to Canadian census data through the CensusMapper API

get_census_geometry

Deprecated, use get_census instead

get_intersecting_geometries

Get identifiers for census regions intersecting a geometry

get_recalled_database

Get metadata for recalled data

get_statcan_geo_suite

Read the geosuite data

get_statcan_geographic_attributes

Read the Geographic Attributes File

get_statcan_geographies

Read the geosuite data

get_statcan_geography_relationships

Read the Dissemination Geographies Relationship File

get_statcan_wds_data

Query the StatCan WDS for data

get_statcan_wds_metadata

Query the StatCan WDS for metadata

label_vectors

Return Census variable names and labels as a tidy data frame

list_cancensus_cache

List cached files

list_census_datasets

Query the CensusMapper API for available datasets.

list_census_regions

Query the CensusMapper API for available regions in a given dataset.

list_census_vectors

Query the CensusMapper API for available vectors for a given dataset.

list_recalled_cached_data

List recalled data stored in local cache

parent_census_vectors

List all parent variables from vector hierarchies given either a list ...

remove_from_cancensus_cache

Remove cached files

remove_recalled_cached_data

Remove recalled data from local cache

search_census_regions

Query the CensusMapper API for regions with names matching a searchter...

search_census_vectors

Query the CensusMapper API for vectors with descriptions matching a se...

set_cancensus_api_key

Set Censusmapper API key

set_cancensus_cache_path

Set persistent cancensus cache location

show_cancensus_api_key

View saved Censusmapper API key

show_cancensus_cache_path

View saved cache directory path

Integrated, convenient, and uniform access to Canadian Census data and geography retrieved using the 'CensusMapper' API. This package produces analysis-ready tidy data frames and spatial data in multiple formats, as well as convenience functions for working with Census variables, variable hierarchies, and region selection. API keys are freely available with free registration at <https://censusmapper.ca/api>. Census data and boundary geometries are reproduced and distributed on an "as is" basis with the permission of Statistics Canada (Statistics Canada 2001; 2006; 2011; 2016; 2021).

  • Maintainer: Dmitry Shkolnik
  • License: MIT + file LICENSE
  • Last published: 2024-02-10