dbhydro.stn | R Documentation |
Downloads DBHYDRO water quality data for specified stations
dbhydro.stn(destfile = "stn_report_todaysDate.csv",
stations = c("ACRA1"),
rename_proj = TRUE,
parameters = "all",
report_type = "full", # full = long dataset - 1 line per sample; crosstab = wide dataset
incl_qc_flags = TRUE,
incl_flagged_data = FALSE,
destination = "file_csv",
start_date = "01-JAN-1960", # note format
end_date = "today",
import_data = FALSE)
destfile |
a character vector file address for output, saved as a comma-delimited text file. |
stations |
a character vector of station names. If one station in the list returns no data, the entire url request fails. |
rename_proj |
lorem ipsum |
parameters |
lorem ipsum |
report_type |
lorem ipsum |
incl_qc_flags |
lorem ipsum |
incl_flagged_data |
lorem ipsum |
destination |
lorem ipsum |
start_date |
lorem ipsum |
end_date |
lorem ipsum |
import_data |
Logical; should data be returned as R object (and not saved to file)? |
dataframe dbhydro.stn
saves a csv of DBHYDRO water quality data to disk or returns a dataframe.
dbhydro.stn.batch
is preferred for multiple-station downloads.
## Not run:
head(dbhydro.stn())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.