alertstat.Rd
This function allows users to obtain an overview of current alerts of all CTA buses through a summary table that provide the count of each type of alerts.
alertstat(key = Sys.getenv("BUS_CLIENT_KEY"))
key | Key for accessing the API |
---|
Table with the counts of each type of alerts.
alertstat()#> #> Bus Stop Note Bus Stop Relocation Planned Reroute Service Change #> 2 8 15 13 #> Special Note #> 136