Description Usage Arguments Details Examples
The function odm_data can be used to help in formating new data. odm_data takes a vector of dates and data and outputs a dataframe formated for use with the functions in this package. site_id, variable_id, and method_id need to already exist in their respective tables in the ODM.
1 2 3 4 5 6 7 8 9 10 11 12 |
date_time |
local date time for each record |
data_value |
matching data value for each date time record |
utc_offset |
difference in hours from Coordinated Universal Time (UTC) |
site_id |
corresponds to an existing Sites record in the Sites table |
variable_id |
corresponds to an existing record in the Variables table |
qualifier_id |
corresponds to an existing record in the Qualifiers table |
method_id |
corresponds to an existing record in the Methods table |
source_id |
corresponds to an existing record in the Sources table |
level_id |
corresponds to a record in the QualityControlLevels table |
channel |
connection handle as returned by odbcConnect |
The output is a properly formated dataframe suitable for further use in workflows involving this package.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.