scrape_vesseltracker: Scrape ship data from "https://www.vesseltracker.com/"

Description Usage Arguments Value Examples

View source: R/scrape_vesseltracker.r

Description

Scrape ship data from "https://www.vesseltracker.com/"

Usage

1

Arguments

url

A search recult url from "https://www.vesseltracker.com/"

pause

Indicates how long the function should sleep for before returning a value.

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.

Examples

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")

lina2497/webscrapeR documentation built on Nov. 15, 2019, 1:48 p.m.