View source: R/check_filters.R
check_filters | R Documentation |
This function is used within data fetching functions to verify that the list of provided filters are known to exist. If a filter cannot be found, a warning is printed out the screen. If the global api filter object does exist, it is populated before proceeding.
check_filters(endpoint, filters, api_app)
endpoint |
|
filters |
|
api_app |
|
list
Adam Cottrill adam.cottrill@ontario.ca
check_filters("fn125", list(year = "2022", lake = "ON"), "fn_portal")
check_filters("fn125", list(year = "2022", lake = "ON", colour = "blue"), "fn_portal")
check_filters("foo", list(year = "2022", lake = "ON"), "fn_portal")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.