susor_generate_file: Start file creation in Survey Solution's server

View source: R/susor_generate_file.R

susor_generate_fileR Documentation

Start file creation in Survey Solution's server

Description

As for any other function of susor, susor_generate_file() requires that you first define your credentials with susor_login(). susor_generate_file() will tell the server to start the creation of the file.

Usage

susor_generate_file(
  susor_quid,
  susor_interview_status = "ALL",
  susor_format = "STATA",
  ...
)

Arguments

susor_quid

A string. Questionnaire Identity. You can find it in the tibble susor_questionnaires that is created by susor_login() See ?susor_login

susor_interview_status

A string. To define the status of interviews to download c( "All", "SupervisorAssigned", "InterviewerAssigned", "Completed", "RejectedBySupervisor", "ApprovedBySupervisor", "RejectedByHeadquarters", "ApprovedByHeadquarters"). Default = "ALL"

define query to start the creation process in the server create .json file temporarly to store the server's response

susor_format

A string to define the format of the file c("STATA", "Tabular"). Default = "STATA"


araupontones/susor documentation built on May 12, 2022, 1:31 p.m.