Description Usage Arguments Examples
This function returns a dataframe of collisions in London This dataset contains car park names, state (giving an indication of whether it is open or closed), capacity and real-time occupancy for selected car parks in the districts of Manchester, Stockport and Wigan only. Metrolink Park & Ride sites will be available shortly. Function also exracts longitude and latitude into separate columns from WKT column
1 | get_tfl_collisions(year, readpath = getwd(), isFirewall = FALSE)
|
year |
the year for which you want to retreive collisions data for |
readpath |
the path where you saved the file with the api key, defaults to working directory |
isFirewall |
specify if you are behind a corporate firewall that might cause issues. Defaults to FALSE |
1 | collisions_df <- get_tfl_collisions("2015")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.