dbpf_export_csv_NWT: Download database time series in CSV ASCII format

View source: R/dbpf_export_csv_NWT.R

dbpf_export_csv_NWTR Documentation

Download database time series in CSV ASCII format

Description

Downloads data from the database in a csv format that approximates the NTGS xlsx file standard for ground temperature data.

Usage

dbpf_export_csv_NWT(
  con,
  location_name,
  project_name,
  file_name,
  project_number,
  freq = "daily"
)

Arguments

con

Database connection object, as returned by dbpf_con()

location_name

Character, name of site for which data is to be desired. Used to query the database.

project_name

Character, used in file header metadata

file_name

Character, path to a csv file to be written

project_number

Character, used in file header metadata

freq

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

Details

None

Author(s)

Nick Brown <nick.brown@carleton.ca>


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