Description Usage Arguments Value Examples
Checks if ORI (a 9-digit unique identifier code assigned to each agency) is valid for the API.
1 | is_valid_ori(ori)
|
ori |
A string or vector of strings of the 9-character ORI code (unique agency ID) for the desired agency. |
TRUE if ori is valid, else FALSE. If ori is a vector, returns TRUE or FALSE for each ori.
1 2 3 4 | # ORI for Oakland Police Deparment in California
is_valid_ori("CA0010900")
# Incorrect ori
is_valid_ori("abc123")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.