Get all audit logs data from a KoboToolbox survey through a kobo_asset or
asset unique identifier.
Value
A data.frame. It contains survey paradata from audit logs.
The following columns are available:
_idThis columns generated byrobotoolboxallow you to do a mapping the_idof the submissions inkobo_data.eventthe action that took place. The different event types include. form start, form exit, question, group questions, end screen, and device or metadata audit.nodethe name of the question or group related to the event.nameThis column is appended byrobotoolboxto match the name of the question in the audit and the data fromkobo_data.startthe timestamp when the event started.endthe timestamp when the event ended.latitudethe latitude of the device when the event occurred.longitudethe longitude of the device when the event occurred.accuracythe GPS accuracy of the location data.old-valuethe previous value of the question before it was changed in this event.new-valuethe new value of the question after it was changed in this event.userthe username of the data collector.change-reasonthe reason before they save changes to a form.
Examples
if (FALSE) { # \dontrun{
kobo_setup()
uid <- "a9cwEQcbWqWzdA5eqkjRUWi"
asset <- kobo_asset(uid)
audit <- kobo_audit(asset)
if (require(dplyr)) {
library(dplyr)
glimpse(audit)
}
} # }