Load Santa Barbara AIS Ship Data

Load dataset sbais which got ingested from raw data at data-raw/2018-06-01_2018-06-07 by data-raw/sbais.R using read_ais_txt() in R/read.R.

And get top 20 vessels with data.

Map Single Ship Line Segments with Speed

Breakdown Ship Speeds based on Compliance Threshold

Gauge

pct_dist_ok <- lims %>% 
  filter(label == "<= 10 knots") %>% 
  pull(pct_dist)

show_ship_gauge(pct_dist_ok)

Value Box

show_ship_box(pct_dist_ok)
50.2

Note: this value box doesn’t really render outside flexdashboard environment.

Ship Report Card Directory and Cards

Here’s an example of using these functions together to create:

TODO: Next

  1. Filter based on shipping lane area. Where are lanes shapefile or larger area to be defined as recommended slowdown area?

  2. Compare average vessel speed inside and outside the slowdown area.

  3. Convert km per hour (kmhr) to knots in segment outputs.

  4. Loop through rendering all ship cards using parameterized ship_card.Rmd

  5. Create directory page to ship cards and summary table of ship stats.

  6. Relate ships to organizations.

  7. Provide overview statistics for study area.