sfpackage when user requests spatial data but does not have the required package installed as opposed to erroring out.
sfpackage when user requests spatial data but does not have the required package installed as opposed to stopping with an error.
get_censuscall that produces a warning if locally cached data has been recalled by Statistics Canada
child_census_vectors()that retains the input parent variable in the list of result. We found that in many cases user would follow up a call to
bind_rows(...)to do this, so this should save a step.
get_intersecting_geometryfunction to take advantage of new Censusmapper API endpoint. Check out the new vignette detailing how to use it.
find_census_vectors()and deprecation of `search_census_vectors(). See the Data discovery: resources for finding available and relevant data vignette for additional information.
explore_census_vectorswhich open a browser page towards the interactive discovery and selection tools on the Censusmapper website
attribution_for_datasetwhich provides accurate attribution information for citation and visualizations for a given dataset.
get_census_geometry()is now hard-deprecated and will stop the program flow. Use
search_census_vectorsfunction. Adds functionality to set maximum depth for child census vectors, i.e.
max_level=NAas an additional parameter. Then e.g.
max_level=1would only get direct children and no grandchildren.
get_census_geographyis now soft deprecated and rolled into the standard
options(cancensus.cache_path = 'XXX')
sf-class data frames if option
sfwas selected for spatial data.
read.csvwas incorrectly loading text data if
readr::read_csvwas not available
NEWS.mdfile to track changes to the package.
list_census_vectors()changed to have
quiet = TRUE