Description Usage Arguments Value See Also Examples
Insert data into site table
1 2 3 4 5 6 7 8 | dbWriteTable_site(
conn,
site_name,
site_lat = NULL,
site_lon = NULL,
site_altitude = NULL,
site_comment = NULL
)
|
conn |
Database connection. |
site_name |
String vector of name of site or name of campaign. |
site_lat |
Numeric vector of geographical latitude WGS84. |
site_lon |
Numeric vector of geographical longitude WGS84. |
site_altitude |
Numeric vector of height above sea level of surface in m. |
site_comment |
String vector of additional comments. |
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_quality_flag()
1 2 3 4 5 6 | ## Not run:
con <- dbConnect_klimageo()
dbWriteTable_site(con, "Adlershof", site_lon = 14., site_lat = 53.)
dbDisconnect(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.