psmsl: Download sea level data from Permanent Service for Mean Sea...

Description Usage Arguments Value See Also Examples

View source: R/psmsl.R

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

1
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

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

## End(Not run)

VulnToolkit documentation built on Aug. 2, 2021, 5:07 p.m.