Get correspondence file for several Candian censuses on a common geography. Requires sf and cancensus package to be available
get_tongfen_correspondence_ca_census(
geo_datasets,
regions,
level = "CT",
method = "statcan",
tolerance = 50,
area_mismatch_cutoff = 0.1,
quiet = FALSE,
refresh = FALSE
)
vector of census geography dataset identifiers
census region list, should be inclusive list of GeoUIDs across censuses
aggregation level to return data on (default is "CT")
tongfen method, options are "statcan" (the default), "estimate", "identifier". * "statcan" method builds up the common geography using Statistics Canada correspondence files, at this point this method only works for "DB", "DA" and "CT" levels. * "estimate" uses `estimate_tongfen_correspondence` to build up the common geography from scratch based on geographies. * "identifier" assumes regions with identical geographic identifier are identical, and builds up the the correspondence for regions with unmatched geographic identifiers.
tolerance for `estimate_tongen_correspondence` in metres, default value is 50 metres.
discard areas returned by `estimate_tongfen_correspondence` with area mismatch (log ratio) greater than cutoff.
suppress download progress output, default is `FALSE`
optional character, refresh data cache for this call, (default `FALSE`)
dataframe with the multi-census correspondence file