Nothing
list_census_regions()
sf
package when user requests spatial data but does not have the required package installed as opposed to erroring out.sf
package when user requests spatial data but does not have the required package installed as opposed to stopping with an error. get_census
call that produces a warning if locally cached data has been recalled by Statistics Canadaget_census
sf
compatibility and agr
attributekeep_parent
when calling 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 child_census_vectors()
with a bind_rows(...)
to do this, so this should save a step. t
column not present in downloaded data.get_intersecting_geometry
function to take advantage of new Censusmapper API endpoint. Check out the new vignette detailing how to use it. set_api_key
, set_cache_path
, show_api_key
, and show_cache_path
added.find_census_vectors()
find_census_vectors()
and deprecation of `search_census_vectors(). See the Data discovery: resources for finding available and relevant data vignette for additional information.list_census_regions()
list_census_datasets()
explore_census_regions
and explore_census_vectors
which open a browser page towards the interactive discovery and selection tools on the Censusmapper websiteattribution_for_dataset
which 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 get_census()
instead.sp
and sf
spatial objectsgeojsonsf
dependencymax_leaves_option
for the search_census_vectors
function. Adds functionality to set maximum depth for child census vectors, i.e. max_level=NA
as an additional parameter. Then e.g. max_level=1
would only get direct children and no grandchildren.get_census_geography
is now soft deprecated and rolled into the standard get_census
with parametersreadr
packagesf
and ggplot2
packagessf
tempdir()
options(cancensus.cache_path = 'XXX')
sf
-class data frames if option sf
was selected for spatial data. read.csv
was incorrectly loading text data if readr::read_csv
was not available NEWS.md
file to track changes to the package.list_census_vectors()
changed to have quiet = TRUE
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.