View source: R/getCAMPEnvCov.R
getCAMPEnvCov | R Documentation |
Query individual covariates and their recorded units from an already queried Access CAMP database.
getCAMPEnvCov(dbCov, cov, covID, unitID)
dbCov |
The data frame resulting from a query against the
|
cov |
The text string name of the environmental covariate in the
|
covID |
The text string name of the environmental covariate units
variable tied to |
unitID |
A single number describing the CAMP Access unit code appropriate
for the provided |
Qualitative variables, which currently only includes
"weather"
, do not subset to values with a valid unitID
, if
only because these don't exist. Alternatively, a lookup table of all
weather values ever recorded is used to map to one of four ordinal values of
increasing cloudiness.
A data frame containing all the records from table EnvDataRaw
in the CAMP database. Only records with a covID
record matching the
unitID
are returned, although all unique values encountered are saved
as attribute "uniqueUnitID"
.
WEST Inc.
estCovar
## Not run: getCAMPEnvCov(cov,covID,unitID) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.