Learn R Programming

VulnToolkit

VulnToolkit is an R package for users working with coastal datasets. Its primary goal is to advance analysis of coastal wetlands and their vulnerability to sea level rise. The package has two emphases:

  • web scrapers, built to make it easy to bring coastal and estuarine data from online databases into R
  • analytical tools, to aid analysis of datasets from coastal and estuarine settings

To install VulnToolkit from R:

install.packages("VulnToolkit") 

To load VulnToolkit in an R session:

library(VulnToolkit)

To see examples of VulnToolkit usage, see the package vignette and a poster describing VulnToolkit applications. Email questions, comments, and suggestions to Hill.Troy@gmail.com.

Copy Link

Version

Install

install.packages('VulnToolkit')

Monthly Downloads

169

Version

1.1.4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Troy Hill

Last Published

August 2nd, 2021

Functions in VulnToolkit (1.1.4)

wave.dur

Find the proportion of time when water surface is near a selected elevation
noaa.parameters

Reports data available for a NOAA station
number.tides

Numbers tidal cycles, flood tides, and ebb tides
form.no

Calculate tidal form number
harcon

Scrapes harmonic constituent data from NOAA CO-OPS website
psmsl.stations

Generates a list of active and historic PSMSL stations
noaa.datums

Scrapes elevation datums from NOAA CO-OPS website
noaa

Downloads NOAA CO-OPS tide data
HL

Extracts high and low tides from a record of water levels
dur.events

Calculates the duration of the median (or other percentile) flooding event
NL_6min_2013

New London water levels, 2013
fld.dur

Flooding duration
dur.bias

Calculates bias in flooding duration estimates due to logger deployment time
HL.plot

Plots water level data and high/low tides extracted by HL()
fld.depth

Calculates flooding depth above an elevation of interest
fld.frq

Flooding frequency
psmsl

Download sea level data from Permanent Service for Mean Sea Level