Description Usage Arguments Details Value Author(s) Examples
Returns the annual average light attenuation coefficient for a lake with the given ID
| 1 | get_kd_year(id, years, src = "in-situ", datasource = NA)
 | 
| id | The character ID for the requested data | 
| years | Integer vector of years for which you want Kd values | 
| src | The data source, currently one of  | 
| datasource | NA (for no filter) or vector of string sources to filter. Get options in dataset 
using  | 
TODO
data.frmae of Kd values with the same number of rows as length(years). NA filled when missing.
Luke Winslow, Jordan Read
| 1 2 3 4 | #Get and plot Kds for a lake over time
years = 1970:2012
kds   = get_kd_year('WBIC_1881900', years)
plot(secchi_m~year, kds, type='o')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.