R/export.R
write_excel.Rd
Function to export data from manages to excel. Each sampling location is saved to a tab.
write_excel(df, wells, constituents, file, short_name = TRUE, overwrite = FALSE)
df | groundwater data frame in tidy format |
---|---|
wells | list of wells to be exported |
constituents | list of constituents to be exported |
file | full file path name with extension for export |
short_name | TRUE/FALSE to abbreviate constituent name |
overwrite | TRUE/FALSE overwrite existing spreadsheet if it exists |