dbhydro.proj | R Documentation |
Downloads DBHYDRO water quality data for a specified project
dbhydro.proj(destfile = "proj_report_todaysDate.csv",
project_codes = "ACMEB",
start_date = "01-JAN-1960", # note format
destination = "file_csv",
rename_proj = TRUE,
import_data = FALSE)
destfile |
a character vector file address for output, saved as a comma-delimited text file. |
project_codes |
a character vector of station names. If one station in the list returns no data, the entire url request fails. |
start_date |
lorem ipsum |
destination |
lorem ipsum |
rename_proj |
indicates whether destination file be re-named to replace "proj" with project name |
import_data |
lorem ipsum |
dataframe dbhydro.proj
saves a csv of DBHYDRO water quality data to disk and has an option (import = TRUE
) to load a dataframe of data into working environment.
dbhydro.proj.batch
is preferred for multiple-project downloads.
## Not run:
# save data as a csv:
dbhydro.proj(project_codes = "CAMB")
# or load into working environment
dbhydro.proj(project_codes = "CAMB", import = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.