View source: R/dbpf_maintenance_resolve.R
dbpf_maintenance_resolve | R Documentation |
Mark a maintenance item as 'complete'
dbpf_maintenance_resolve(con, id, time_UTC, mode = "test")
con |
Database connection object, as returned by |
id |
Database ID of the maintenance item to resolve. Can be found using |
time_UTC |
(optional) When the issue was discovered. If not provided the current time is used. [POSIXct] |
mode |
Should data be inserted into DB? Defaults to 'test' so that only testing information is returned. To insert: 'insert' |
Adds an observation to using the 'maintenance_completed' sensor for a particular location. The observation references the maintenance issue using the database ID of that issue.
Nick Brown <nick.brown@carleton.ca>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.