searchVessel: Search for Vessels Close to Popups

Description Usage Arguments

View source: R/searchVessel.R

Description

This function searches for vessels nearby popup events. It uses the Global Fishing Watch (GFW) AIS database and to Tag of Pelagic Predator (TOPP, 'http://gtopp.org/') database and searches within a time window specified by the user, centered on the popup date, with a spatial box specified by the user in latitude and longitude degrees.

Usage

1
2
3
4
5
searchVessel(con, project, ptt = "153499", spatWin = 1, tempWin = 24,
  gears = c("drifting_longlines", "trawlers", "purse_seines",
  "unknown_fishing", "squid_jigger", "pole_and_line", "drifting_gillnets",
  "no_idea_what_it_is", "research other_fishing", "set_longlines", "troller",
  "set_gillnets", "pots_and_traps"))

Arguments

con

a connection to the OIB - TOPP database.

project

Google Cloud Platform project name. This is needed to query the GFW database in bigQuery.

ptt

is the argos ID. If the tag was reused that it is possible to have multiple tags for the sam ptt. In that case use latest date.

spatWin

spatial window in degrees

tempWin

temporal window in hours

gears

fishing gears to search


ferrettigs/OIB documentation built on July 12, 2019, 6:52 p.m.