psmsl {VulnToolkit}R Documentation

Download sea level data from Permanent Service for Mean Sea Level

Description

psmsl imports monthly/annual tide data from stations around the world. Dataset compiled and stewarded by the Permanent Service for Mean Sea Level (http://www.psmsl.org).

Usage

psmsl(station = 12, type = "RLR", interval = "annual")

Arguments

station

name or ID, or a vector of station names/IDs. Elements can be a character string (must match actual station name identically), or numeric station ID (no quotes: i.e., 12 rather than "12"). Use psmsl.stations to find stations, or check http://www.psmsl.org. If multiple stations are included, their data is combined using rbind, making a long (rather than wide) dataset. Default station is the Battery, in New York City.

type

data quality class; can be 'metric' (default; data has been rigorously standardized) or 'RLR'. See http://www.psmsl.org for documentation.

interval

time interval over which mean sea level is calculated. Can be 'monthly' or 'annual'.

Value

A data frame data.frame containing the requested Permanent Service for Mean Sea Level data.

See Also

psmsl.stations can be used to find stations

Examples

## Not run: 
battery  <- psmsl()
stations <- psmsl(station = c(1372, 12), interval = "monthly")

## End(Not run)

[Package VulnToolkit version 1.1.4 Index]