checkLocationValidity: Check the validity of a location

Description Usage Arguments Value Examples

View source: R/checkLocationValidity.R

Description

Helper method to check the validity of a location.

Usage

1

Arguments

location

a string representing the desired location

Value

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.

Examples

1

gsimchoni/yrbss documentation built on May 24, 2019, 4:05 a.m.