View source: R/dbpf_observations_meta.R
dbpf_observations_meta | R Documentation |
Get raw observations per location, height and time slice.
dbpf_observations_meta(
con,
location_name,
height_top = 5,
height_bot = -15,
time_b = "1950-01-01 00:00:00+00",
time_e = "2050-01-01 00:00:00+00",
verbose = FALSE
)
con |
Database connection object, as returned by dbpf_con() |
location_name |
Character string or list of several with the location name(s) to be queried for. |
height_top |
Uppermost height [m] (positive above surface, negative when below surface) of sensor to return in this query. |
height_bot |
Lowermost height [m] (positive above surface, negative when below surface) of sensor to return in this query. |
time_b |
Begin time for the interval to be analysed. Use the format "1950-01-01 00:00:00+00" |
time_e |
End time for the interval to be analysed. Use the format "1950-01-01 00:00:00+00" |
verbose |
Provide terminal output of the query string? (defaults to FALSE) |
Fast way to access raw observation data without aggregation.
The unit_of_measurement variable is used to distinguish between different measurement types. The default (C) will return observations that measure temperature in degrees celsius. To obtain observations of relative humidity, use "
List of all locations in DB
Stephan Gruber <stephan.gruber@carleton.ca>
## Not run:
con <- dbpf_con()
obs <- dbpf_observations_meta(con, "NGO-DD-1004_ST02")
dbDisconnect(con)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.