Description Usage Arguments Value See Also Examples
Insert data into quality_flag table
1 2 3 4 5 6 7 | dbWriteTable_quality_flag(
conn,
qf_id,
qf_name,
qf_description,
qf_comment = NULL
)
|
conn |
Database connection. |
qf_id |
Integer vector with 1 <= qf_id <= 9 indicating value ok and qf_id >= 10 indicating value not ok. |
qf_name |
Character vector of quality_flag name. |
qf_description |
Character vector of quality_flag description. |
qf_comment |
Character vector of of additional information. |
Data frame of newly added rows.
Other custom dbWriteTable functions:
dbAddCorrection_station_adlershof(),
dbAddCorrection_station_patagonia(),
dbAdd_calibration_state(),
dbAdd_device_model(),
dbAdd_device(),
dbAdd_integration(),
dbAdd_measurand(),
dbAdd_physical_quantity(),
dbAdd_station_adlershof(),
dbAdd_station_patagonia(),
dbWriteTable_device_manufacturer(),
dbWriteTable_device_type(),
dbWriteTable_integration_type(),
dbWriteTable_person(),
dbWriteTable_site()
1 2 3 4 5 6 7 8 9 10 | ## Not run:
con <- dbConnect_klimageo()
dbWriteTable_quality_flag(
qf_id = c(1,11),
qf_name = c("value ok, automatic qc", "corrected calculation constant"),
qf_description = c("value ok, automatically checked for consistency",
"original value used from calculation constant")))
dbDisconnect(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.