dbpf_maintenance_resolve: Resolve maintenance issue

View source: R/dbpf_maintenance_resolve.R

dbpf_maintenance_resolveR Documentation

Resolve maintenance issue

Description

Mark a maintenance item as 'complete'

Usage

dbpf_maintenance_resolve(con, id, time_UTC, mode = "test")

Arguments

con

Database connection object, as returned by dbpf_con

id

Database ID of the maintenance item to resolve. Can be found using dbpf_maintenance_needs [character]

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'

Details

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.

Author(s)

Nick Brown <nick.brown@carleton.ca>


geocryology/PermafrostDB documentation built on April 17, 2025, 11:54 a.m.