Description Usage Arguments Value Examples
View source: R/emodnet_getdata_atplatform.R
The function returns recent (up to two months old) high-resolution time series from the EMODnet physics portal, given a location and a parameter.
1 | emodnet_getdata_atplatform(platformid, paramcode)
|
platformid |
is the EMODnet specific code for the
location at which the data is recorded. The full list
of platform ids is provided by the function |
paramcode |
is the EMODnet specific code for the
parameter of interest. The full list
of parameters and their corresponding codes is provided
by the function |
a data.frame containing the requested data.
1 2 3 4 5 6 7 8 9 10 | library(XML)
library(RCurl)
library(merpWS)
library(magrittr)
# get platform ids and parameter codes
list_platform <- emodnet_getallplatform()
list_param <- emodnet_getallparam()
# get current data for one platform where temperature data is available
myresult <- emodnet_getdata_atplatform(platformid = 437, paramcode = "TEMP")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.