mdl_survey_get_variables: Get all variables

View source: R/variables.R

mdl_survey_get_variablesR Documentation

Get all variables

Description

Fetches list of variables for a given dataset, this contains variable name and label. It can be filtered using optional argument data file to get variables for only one data file (you can filter after receiving the unfiltered result as well since there is a column with the data file ID).

Usage

mdl_survey_get_variables(survey_idno, data_file = NA)

Arguments

survey_idno

Survey unique identifier

data_file

Data file ID to be provided to get variables for only one specific data file (if not provided all variables will returned). Can be found using the function mdl_survey_get_variable_files() or it can be seen in the "fid" column in the result of this function itself.

Value

API call response.


UNHCRmdl/mdl documentation built on Jan. 15, 2025, 6:40 p.m.