get_db_to_ons: Single-Link Indicator from Dissemination Blocks (DBs) to ONS...

View source: R/get_pts_neighbourhood.R

get_db_to_onsR Documentation

Single-Link Indicator from Dissemination Blocks (DBs) to ONS Neighbourhoods

Description

Census data is often available at the DB level, whereas ONS analyses generally take place at the neighbourhood level. This function returns an SLI that maps each DB in Ottawa to the single ONS neighbourhood it overlaps the most. The SLI was generated with a simple spatial join from StatsCan's official DB shapefile and the ONS neighbourhood boundaries, using the function sf::st_join(largest = TRUE).

See also onsr::get_da_to_ons(), which maps dissemination areas to ONS neighbourhoods.

Usage

get_db_to_ons()

Value

A tibble matching each Ottawa DB to one ONS neighbourhood.


Ottawa-Neighbourhood-Study/onsr documentation built on June 19, 2022, 11:46 a.m.