Description Usage Arguments Details Value Author(s) Examples
Returns the light attenuation coefficient for a lake with the given ID
1 | get_kd_avg(ids, default.if.null = FALSE, src = "in-situ", datasource = NA)
|
ids |
The character ID for the requested kd data. Can be a character vector. |
default.if.null |
boolean indicating if default Kd should be used if lake has no observations |
src |
The data source, currently one of |
TODO
Light attenuation coefficient in m^-1
Luke Winslow, Jordan Read
1 2 3 4 5 6 7 8 | #NA returned when no site with that ID found
get_kd_avg(c('WBIC_6100', 'WBIC_10000', 'asdf'))
#Some lakes have satellite data available
get_kd_avg(c('WBIC_6100', 'WBIC_805400', 'asdf'), src='satellite')
#Default can be requested as well
get_kd_avg(c('WBIC_6100','asdf', 'WBIC_10000', 'asdf'), default.if.null=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.