dbpf_export_csv_GTNP: Download database time series in GTNP-style ASCII format

View source: R/dbpf_export_csv_GTNP.R

dbpf_export_csv_GTNPR Documentation

Download database time series in GTNP-style ASCII format

Description

Downloads one or more time series from the carleton permafrost database and exports them as a CSV that is formatted in the same way as GTN-P database exports.

Usage

dbpf_export_csv_GTNP(
  con,
  location_name,
  output_directory,
  freq = "daily",
  type = "Ground_Temperature"
)

Arguments

con

Database connection object, as returned by dbpf_con()

location_name

Character, one or more location names to convert.

output_directory

Character, path to output directory

freq

Character, one of ('daily', 'hourly'). Interval at which data is to be aggregated from the database. data.

type

character, used in file naming, recommended to be one of (" Air_Temperature", "Surface_Temperature", "Ground_Temperature") to match GTN-P file naming convention.

Details

Requires the PermafrostDB package.

Author(s)

Nick Brown <nick.brown@carleton.ca>


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