For reference, see:
Muliple functions can live in a single *.R script inside the R/ folder:
read_ais_txt(): Read AIS text fileship_limits(): Get breakdown of distance and time above/below speed limit
ship_segments(): Create line segments with speed for specific ship from AIS data
map_ship_limits(): Interactive map of ship limits
map_ship_segments(): Interactive map of ship segments
ship_gauge(): Show gauge of ship performance
ship_box(): Show value box of ship performance
Generate the R documentation from roxygen2 comments above the R functions to be placed into the manual folder /man:
Use raw data:
Move data files into data-raw/, then sbais.R to generate sbais.csv and load into data/ with:
Create dependencies on packages so these get installed if missing. Updates the DESCRIPTION file:
Build website into docs/ folder with pkgdown, to be hosted using Github Pages.
Structure reference listing with inst/_pkgdown.yml per:
✔ Setting URL field in DESCRIPTION to 'https://github.com/mvisalli/shipr'
✔ Setting BugReports field in DESCRIPTION to 'https://github.com/mvisalli/shipr/issues'
✔ Writing 'NEWS.md'