Skip to contents

Opens a template of the blanks sample report. Running the function will create a Rmd file. The file can be "knit" as-is, or adjusted before rendering.

Usage

create_groundwater_report(
  siteID,
  report_name,
  report_folder,
  output_type = "word"
)

Arguments

siteID

character. USGS site ID, should be a groundwater site.

report_name

character. Base name of report.

report_folder

character. Report folder, can be full path or partial.

output_type

should be either "word", "html", or "pdf".

Examples



if (FALSE) { # \dontrun{
create_groundwater_report("424520070562401",
                          report_name = "example_report",
                          report_folder = "reports",
                          output_type = "word")
                          
create_groundwater_report("424520070562401",
                          report_name = "example_report",
                          report_folder = "reports",
                          output_type = "html")
} # }