get_user_action_log: Get action log for single user

View source: R/users.R

get_user_action_logR Documentation

Get action log for single user

Description

Fetches the log of user actions on the tablet. This includes creating, opening, editing, closing, and sending interviews. Returns the log as a data frame.

Usage

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

Arguments

user_id

Character. User ID. GUID from server.

start

Character. Date in "YYYY-MM-DD" format

end

Character. Date in "YYYY-MM-DD" format

server

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

workspace

Character. Name of the workspace whose users to get. In workspace list, value of NAME, not ⁠DISPLAY NAME⁠, for the target workspace.

user

Character. API user name

password

Character. API password

Details

Wrapper for GET /api/v1/interviewers/{id}/actions-log endpoint

Value

Data frame containing the action log.


arthur-shaw/susoapi documentation built on Oct. 15, 2024, 3:44 a.m.