dbpf_observations_plot: Plot data for one location

View source: R/dbpf_observations_plot.R

dbpf_observations_plotR Documentation

Plot data for one location

Description

Opens interactive plot in browser in order to check and explore data series for one location.

Usage

dbpf_observations_plot(
  con,
  location_name,
  unit_of_measurement = "C",
  period = "raw",
  time_b = "2018-07-01 00:00:00+00",
  time_e = "2021-08-05 23:59:59+00",
  verbose = FALSE
)

Arguments

con

Database connection object, as returned by dbpf_con()

location_name

Character string of the location to be plotted.

unit_of_measurement

Unit of measurments, defaults to "C"

period

Period over wich to aggregate time series [h], defaults to no aggregation (period = 'raw').

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

Allows to set aggregation parameters.

Value

Data frame with locations in rows and columns loc_name, height, max, min, avg, cnt dbpf_observations_plot

Author(s)

Stephan Gruber <stephan.gruber@carleton.ca>

Examples

## Not run: 
dbpf_observations_plot(con, "YK16-SO06_01")

## End(Not run)

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