clc_calculate_low_income: For a vector of postal codes, identify those which are in low...

Description Usage Arguments Value

View source: R/clccommunities.R

Description

For a vector of postal codes, identify those which are in low income communities

Usage

1
2
3
4
5
clc_calculate_low_income(
  postal_code,
  lim_at_prevalence_threshold = 0.193,
  format = c("label", "indicator")
)

Arguments

postal_code

A vector of postal codes

lim_at_prevalence_threshold

The lowest prevalence of LIM-AT that would categorize a community as low income, Defaults to 19.3%, the lower bound of the 4th quartile of LIM-AT prevalence among FSAs.

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)

Value

A vector of low income assessments for each value in postal_code, in the specified format


context-dependent/clccommunities documentation built on Jan. 21, 2022, 2:33 a.m.