ridCheck: Route ID Check

Description Usage Arguments Value

View source: R/ridCheck.R

Description

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.

Usage

1
ridCheck(sfDataObject, ridName)

Arguments

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.

Value

noRID A literal denoting whether or not an RID value was given


rLFT documentation built on Sept. 24, 2021, 9:07 a.m.