dbpf_observations_raw: Get raw observations

View source: R/dbpf_observations_raw.R

dbpf_observations_rawR Documentation

Get raw observations

Description

Get raw observations per location, height and time slice.

Usage

dbpf_observations_raw(
  con,
  location_name,
  unit_of_measurement = "C",
  height_top = -0.1,
  height_bot = -0.1,
  time_b = "1950-01-01 00:00:00+00",
  time_e = "2050-01-01 00:00:00+00",
  verbose = FALSE
)

Arguments

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.

unit_of_measurement

Unit of measurments, defaults to "C"

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)

Details

Fast way to access raw observation data without aggregation.

Value

List of all locations in DB

Author(s)

Stephan Gruber <stephan.gruber@carleton.ca>

Examples

## Not run: 
con <- dbpf_con()
obs <- dbpf_observations_raw(con, "NGO-DD-1004_ST02")
dbDisconnect(con)

## End(Not run)

geocryology/PermafrostDB documentation built on April 17, 2025, 11:54 a.m.