View source: R/dbpf_export_xlsx_NWT.R
dbpf_export_xlsx_NWT | R Documentation |
Downloads data from the database in a csv format that is consistent with the NTGS xlsx file standard for ground temperature data.
dbpf_export_xlsx_NWT(
con,
location_name,
project_name,
file_name,
freq = "hourly"
)
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 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/
Nick Brown <nick.brown@carleton.ca>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.