View source: R/clccommunities.R
For a vector of postal codes, identify which ones are in rural communities
1 | clc_calculate_rural(postal_code, sac_index_threshold = 4, format = "label")
|
postal_code |
A vector of postal codes |
sac_index_threshold |
The lowest SAC index that should be classified as rural. Defaults to 4 (moderate metropolitan influence zone) |
format |
The format of the return vector. Either "label" (the default), or "indicator". If the format is "label", the returned vector will be a factor with verbose category labels. If the format is "indicator", the returned vector will be a numeric boolean (1, 0, or NA) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.