Fishing effort - 4wings API

get_raster()

Base function to get raster from API and convert response to data frame

get_last_report()

Base function to get status of last report generated

Vessel identity

get_vessel_info()

Base function to get vessel information from API and convert response to data frame

Events API

Fishing, gap, encounter and loitering events

get_event()

Base function to get events from API and convert response to data frame

get_event_stats()

Base function to get events stats from API and convert response to data frame

Auxiliary functions and datasets

gfw_auth()

Get user API token from .Renviron

get_region_id()

Function to pull numeric code using region name

get_regions()

List of available regions

test_shape

A sample shapefile