susor_approve_hq: Approve interviews as headquarters

View source: R/susor_approve_hq.R

susor_approve_hqR Documentation

Approve interviews as headquarters

Description

Approve interviews as headquarters

Usage

susor_approve_hq(
  susor_interview_key,
  susor_approve_comment = NULL,
  susor_data_reference,
  ...
)

Arguments

susor_interview_key

A string. interview__key of the interview to be a approved in the server. It can be a vector containing more than one interview__key

susor_data_reference

A tibble. A tibble that includes the interviews to be approved.

susor_data_comment

A string. Approve comment

Value

Change status of interviews to ApprovedByHeadquarters

Examples

#define interview__key of interviews to approve by HQ
to_approve <- c("00-06-27-10","00-78-23-02" )
#approve interviews using 'susor_approve_hq'
susor_approve_hq(susor_interview_key = to_approve,
                by = "interview__key",
                susor_data_reference = raw
                )

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