Description Usage Arguments Details Value See Also Examples
View source: R/psmsl_stations.R
Generates a list of active and historic tide stations hosted by the Permanent Service for Mean Sea Level (http://www.psmsl.org)
1 | psmsl.stations(type = "RLR", country = "all", sort.by = "country")
|
type |
data quality class; can be 'metric' or 'RLR' - see http://www.psmsl.org for documentation |
country |
if desired, the full list of stations can be filtered by up to three alphabetical characters. Specific country codes can be entered ("USA"), or abbreviated codes in case the user isn't sure of the country code ("U"; "US"). Upper case and lower case codes are both acceptable. Default is 'all' stations. |
sort.by |
the criterion for sorting the final dataframe. By default,
output is sorted alphabetically by country code. Any column name can be used
for sorting: 'name', 'id', 'lat', 'long', 'country', 'date',
'coastline', or |
A data.frame
containing all Permanent Service for Mean Sea Level
stations meeting country code criterion. Data frame is sorted by the column
specified in argument sort.by
A data.frame
containing all Permanent Service for Mean Sea Level
stations meeting country code criterion. Data frame is sorted by the column specified
in argument sort.by
1 2 3 4 5 6 7 | ## Not run:
# examples require internet connection
stn.df <- psmsl.stations()
stn.df2 <- psmsl.stations(country = "USA", sort.by = "date")
stn.df3 <- psmsl.stations(type = "metric")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.