Description Usage Arguments Value
Checks the given Route ID and makes sure it exists and if it does assigns FALSE to the variable noRID. Otherwise it will stop the program if the given Route ID does not exist or just assign noRID to TRUE if no RID was given.
1 | ridCheck(sfDataObject, ridName)
|
sfDataObject |
An sf Object containing shape file data. |
ridName |
A character denoting the column name where the unique Route ID for each feature is stored in given sf object. |
noRID A literal denoting whether or not an RID value was given
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.