fc_get_user | R Documentation |
Read user information
List of user devices.
Get station information
Get min and max date of device data availability
Getdata between specified time periods.
fc_get_user(...)
fc_get_user_stations(...)
fc_get_station(station_id = NULL, ...)
fc_get_data(station_id = NULL, ...)
fc_get_data_range(
station_id = NULL,
data_group = c("raw", "hourly", "daily", "monthly"),
from = NULL,
to = NULL,
...
)
... |
additional arguments passed to |
station_id |
station id to query |
data_group |
how to group data |
from |
time in unix timestamps since UTC, e.g. via as.integer(as.POSIXct(Sys.time())) |
to |
time in unix timestamps since UTC as.integer(as.POSIXct(Sys.time())) |
a list with user information.
a list with user stations information.
a list with station details.
a list with station metadata.
a list with station data.
## Not run:
fc_get_user()
## End(Not run)
## Not run:
stations <- fc_get_user_stations()
stations
## End(Not run)
## Not run:
stations <- fc_get_user_stations()
fc_get_station(stations[[1]]$station_name)
## End(Not run)
## Not run:
stations <- fc_get_user_stations()
fc_get_data(stations[[1]]$station_name)
## End(Not run)
## Not run:
stations <- fc_get_user_stations()
fc_get_data_range(
station_id = stations[[1]]$station_name,
data_group = "raw",
from = as.integer(as.POSIXct(Sys.time() - 60*60*24)),
to = as.integer(as.POSIXct(Sys.time())))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.