• fix issue with path names not quoted properly when downoading and unpacking geosuite data
  • support versions in WDS data, in paricular for federal electoral districts
  • fix issue when using named vectors to query data for non-existent geographies, return NULL in this case instead of throwing error
  • fix problem with population centre geographic data download
  • support newly released Forward Sortation Area geography for statcan geography and WDS functionality
  • remove instances of new native R pipe |> with dplyr pipe %>% to preserve compatibility with older R versions
  • add functionality for direct access to StatCan census WDS for 2021
  • add functionality to download original StatCan geographies for 2021
  • update CODES_TABLE for 2021 census
  • added ability to query census datasets by year
  • added a convenience function for creating unique names within given selection of regions from list_census_regions()
  • added a check and context menu to install sf package when user requests spatial data but does not have the required package installed as opposed to erroring out.
  • improved checking that correct spatial formats are requested
  • preparing for ‘sp’ spatial format usage deprecation in future versions
  • Added a check and context menu to install sf package when user requests spatial data but does not have the required package installed as opposed to stopping with an error.
  • fixes a bug in the local data recall check
  • resolved broken and relocated links picked up in CRAN pretesting
  • Added functionality for users to detect and remove locally cached data that has been recalled by Statistics Canada
  • added a check on initial get_census call that produces a warning if locally cached data has been recalled by Statistics Canada
  • added option to retrieve higher-resolution geometries in get_census

Minor changes

  • renamed get/set cache/api_key functions to avoid name conflicts with related packages

Minor changes

  • Added cache metadata
  • overview information on cached data
  • allow selective removing of cached data

Minor changes

  • Fixed a problem with sf compatibility and agr attribute
  • Fixed a problem with querying geographic data for multiple geographic levels

Minor changes

  • Fixed a minor problem where cache path wasn’t always picked up
  • Added optional argument keep_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.

Minor changes

  • Fixed minor problem where API key wasn’t always picked up if not set correctly as environment variable.
  • Fixed warning when t column not present in downloaded data.

Major changes

  • Added get_intersecting_geometry function to take advantage of new Censusmapper API endpoint. Check out the new vignette detailing how to use it.

Minor changes

  • Slightly reworked how to configure and store user API keys and cache locations. New functions set_api_key, set_cache_path, show_api_key, and show_cache_path added.
  • Fixes various warnings due to recent changes in tibble and dplyr.

Major changes

  • Support for 1996 census
  • Public availability of dissemination block area level data

Minor changes

Minor changes

  • CRAN check issues

Major changes

Minor changes

  • Updated internal usage of dependent packages to avoid deprecated functions and warnings
  • Additional minor fixes to efficiency improvements

Minor changes

Minor changes

  • Minor documentation improvements
  • Allow for search by vector identifier
  • Allow child and parent vector retrieval by vector identifier
  • Add functionality for future tax data releases

Major changes

  • Added a max_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.
  • Resolved issues with mislabeled CD UID for CSD level data
  • Improve reliability of character/numeric alignments for geographic UIDS
  • get_census_geography is now soft deprecated and rolled into the standard get_census with parameters

Minor changes

  • Minor documentation improvements
  • Soften dependency on readr package
  • Allow for search of internal CensusMapper variables

Major changes

  • Remove dependency on development versions of sf and ggplot2 packages
  • Add feature allowing for named vector retrieval

Minor Changes

  • Vignette updates
  • Calls that retrieve only geography will now return geographic hierarchy information as well
  • Small tweaks that make it easier to do 2011-2016 intra-census comparisons

Bug fixes

  • Fix labels when geo format is sf
  • Remove some unnecessary code for geographic hierarchies

Major changes

  • Set default caching to tempdir()
  • Encourage users to set up local persistent caching using options(cancensus.cache_path = 'XXX')

Major changes

  • First released on CRAN

Minor changes

  • Ensured that data frames were sf-class data frames if option sf was selected for spatial data.

Bug fixes

  • Fixed a bug where read.csv was incorrectly loading text data if readr::read_csv was not available

Major changes

  • Added a NEWS.md file to track changes to the package.
  • Added pkgdown documentation
  • New vignettes - cancensus and Making maps with cancensus

Minor changes

Major changes

  • Added vector and geography search and discovery capabilities
  • Improved performance
  • Error and API issue messaging

Minor changes

  • Reduced package dependencies

Major changes

  • Initial release