F.chinookByDate.table | R Documentation |
Summarize chinook salmon by date between two dates.
F.chinookByDate.table(site, min.date, max.date, output.file)
site |
The identification number of the site for which estimates are required. |
min.date |
The start date for data to include. This is a text string in
the format |
max.date |
The end date for data to include. Same format as
|
output.file |
The name of the file prefix under which output is to be saved. |
As its name implies, function F.chinookByDate.table
retrieves
only Chinook salmon records, as specified by setting variable
taxon=161980
within the appropriate query series. The function
utilizes helper function F.get.all.catch.data
to handle the Sum
Chinook by Trap query series. See section Structured Query Language (SQL)
Queries in function F.run.sqlFile
for more information. Note that
function F.get.catch.data
, utilized in the estimation of passage,
differs from F.get.all.catch.data
.
A csv
containing Chinook salmon catch information. A data
frame containing the same information is also returned, but invisibly.
F.get.catch.data
## Not run: # ---- Get all Chinook on the American. # site <- 57000 # min.date <- "2013-01-01" # max.date <- "2013-06-01" # output.file <- NA F.chinookByDate.table(site,min.date,max.date,output.file) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.