Skip to contents

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

Value

Data frame.

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.