dbpf_export_xlsx_NWT: Write permafrost data as NWT xlsx standard

View source: R/dbpf_export_xlsx_NWT.R

dbpf_export_xlsx_NWTR Documentation

Write permafrost data as NWT xlsx standard

Description

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

Usage

dbpf_export_xlsx_NWT(
  con,
  location_name,
  project_name,
  file_name,
  freq = "hourly"
)

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, project name associated with the location_name

file_name

Character, path to an xlsx file to be written

freq

how often to aggregate data (e.g. 'hourly', 'daily')

Details

Details in NWT open report (unpublished)

This function relies on the Rtools library to create the xlsx file. This can be downloaded from https://cran.r-project.org/bin/windows/Rtools/

Author(s)

Nick Brown <nick.brown@carleton.ca>


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