get_direction: Allow users to get direction based on bus number.

Description Usage Arguments Value Examples

Description

This function allows users to look up the direction of a specified bus number.

Usage

1
get_direction(bus, key = Sys.getenv("BUS_CLIENT_KEY"))

Arguments

bus

Bus number.

key

Key for accessing the API.

Value

Dataframe with bus number and its corresponding direction.

Examples

1
get_direction(bus = 156)

ytingc/rCTA documentation built on May 15, 2019, 1:12 p.m.