get_ageprep1 | R Documentation |
This function accesses the api endpoint for age preparation 1 choices and returns their labels, descriptions and whether they're in use. It fetches the entire table of valid age preparation 1 codes - no other filter parameters are currently available for this endpoint.
get_ageprep1(filter_list = list(), show_id = FALSE, to_upper = TRUE)
filter_list |
list |
show_id |
include the fields the 'id' and 'slug' in the returned data frame |
to_upper |
|
Note that age preparation 1 codes are valid for the second character of the AGEMT field.
See https://intra.glis.mnr.gov.on.ca/common/ageprep1/ for the full list of age preparation 1 code options
dataframe
Rachel Henderson rachel.henderson@ontario.ca
ageprep1 <- get_ageprep1()
ageprep1_slugs <- get_ageprep1(show_id = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.