get_all_user_logs: Obtains action logs for all interviewer users

View source: R/monitor.R

get_all_user_logsR Documentation

Obtains action logs for all interviewer users

Description

Performs workflow to obtain all action logs:

Usage

get_all_user_logs(
  start,
  end,
  server = Sys.getenv("SUSO_SERVER"),
  workspace = Sys.getenv("SUSO_WORKSPACE"),
  user = Sys.getenv("SUSO_USER"),
  password = Sys.getenv("SUSO_PASSWORD")
)

Arguments

start

Character vector. Date in YYY-MM-DD format

end

Character vector. Date in YYY-MM-DD format

server

Full server web address (e.g., https://demo.mysurvey.solutions, https://my.domain)

workspace

Character. Workspace whose action logs to get.

user

API user name

password

API password

Details

  1. Obtain the list of all interviewers

  2. Fetch the action logs for each interviewers

Contains action log columns: time of event (Time) and description of event (UserId). Also contains an identifier for the user: UserID, a GUID that can be used to add the user name. Rows correspond to events in the action log. NA values in Time and Message mean that there were no actions in action log between the start and end dates used to obtain the action logs.

Value

Data frame.


arthur-shaw/susoflows documentation built on Feb. 10, 2023, 7:52 p.m.