is_fac_name | R Documentation |
Returns TRUE if a facility name exists in the facility crosswalks, FALSE otherwise. Function is case-insensitive, and strips special characters, new line indicators, and excess white space (per behindbarstools::clean_fac_col_txt).
is_fac_name( fac_name, state, fac_info = NULL, fac_spellings = NULL, include_alt = T )
fac_name |
character string of the facility to plot |
state |
character string of the facility's state |
fac_info |
data frame with facility_info sheet |
fac_spellings |
data frame with facility_spellings sheet |
include_alt |
logical, whether to include alternative spellings |
logical, TRUE if fac_name is a valid name and FALSE otherwise
is_fac_name("Los Angeles Jails", "California")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.