get_agest | R Documentation |
This function accesses the api endpoint for aging structure choices and returns their labels, descriptions and whether they're in use. It can fetch the entire table of valid aging structures, or it accepts the filter parameter all=TRUE to return all aging structures, including those no longer in use. No other filter parameters are currently available for this endpoint.
get_agest(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 aging structures are valid for the AGEST field and the first character of the AGEMT field.
See https://intra.glis.mnr.gov.on.ca/common/aging_structures/ for the full list of aging structure code options
dataframe
Rachel Henderson rachel.henderson@ontario.ca
agest <- get_agest()
agest_all <- get_agest(list(all = TRUE))
agest_slugs <- get_agest(show_id = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.