Description Usage Arguments Value Examples
View source: R/scrape_vesseltracker.r
Scrape ship data from "https://www.vesseltracker.com/"
1 | scrape_vesseltracker(url, pause = 0)
|
url |
A search recult url from "https://www.vesseltracker.com/" |
pause |
Indicates how long the function should sleep for before returning a value. |
A list containing two dataframes, PortStatus contians general information about the port, PortCalls contains a list of recent arrivals. Use pause
when vectorising this function
over a list of urls to minimise nuisance to target website.
1 2 3 | scrape_vesseltracker(url="https://www.vesseltracker.com/en/Port/Dover/Dashboard.html")
scrape_vesseltracker(url="https://www.vesseltracker.com/en/Port/Calais/Dashboard.html")
scrape_vesseltracker(url="https://www.vesseltracker.com/en/Port/Belfast/Dashboard.html")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.