call_naptan_region | R Documentation |
Call the Naptan API for a partial or full region name. Returns a data frame of Naptan data.
call_naptan_region(region_string)
region_string |
string of partial or complete region name. Function uses regex to search for provided string in the names of the regions in Naptan. To see a data frame of current valid atco codes and region names, use the lookup_atco_codes() function. |
Returns a data frame of NaPTAN data containing transport access node information. See NaPTAN data set guidance for more information.
#Return data for west yorkshire only call_naptan_region("west yorkshire") #Return data for all yorkshire regions call_naptan_region("yorkshire")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.