Description Usage Arguments Value Examples
View source: R/checkLocationValidity.R
Helper method to check the validity of a location.
1 | checkLocationValidity(location)
|
location |
a string representing the desired location |
an ERROR if the location is not in the yrbss_data_binary dataset, the location itself if it is valid, and "US" if it is NULL.
1 | checkLocationValidity("CA")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.