README.md

WhaleSafe4r

Table of Contents

Installation

Overview

Crawlers

Readers

Updaters

Stats

The WhaleSafe4r package harvests AIS data located at this site, which are collected and maintained by the Santa Barbara Amateur Radio Club | K6TZ. The data is then written to a postgres database and analyzed in order to generate vessel speed report cards.

Installation

You can install the released version of whaletrails from: Github with:

devtools::install_github("BenioffOceanInitiative/whalesafe4r")

Overview

The primary areas our functions address are:

Crawlers

  1. Crawlers

Get a list of URL's from Santa Barbara Amatuer Radio Club and use the Reader and Updater functions to get the AIS data into a relational database.

Readers

  1. Readers

Reads a URL path into AIS data (example) & constructs a spatial features dataframe from the AIS dataframe.

Updaters

  1. Updaters

Loops through the list of URL's from the crawlers functions to make an AIS dataframe. Then it makes a sf dataframe with each vessels track from the AIS dataframe. Finally, it intersects the sf dataframe of all vessel tracks with the VSR Zones based on space and time.

Stats

  1. Stats

Calculates Statistics for each vessel and Operator to determine cooperation grades with the Vessel Speed Reduction programs.



mvisalli/shipr documentation built on Aug. 8, 2020, 8:38 p.m.