kobo_lang: Get the languages used in a KoboToolbox survey form

View source: R/kobo_lang.R

kobo_langR Documentation

Get the languages used in a KoboToolbox survey form

Description

Get the languages used in a KoboToolbox survey form from a kobo_asset or asset unique identifier.

Usage

kobo_lang(x)

Arguments

x

the unique identifier of a specific asset (character) or a kobo_asset object.

Value

A vector of character. The languages used in the form, it returns "Labels" when no language is set.

Examples

## Not run: 
kobo_setup()
uid <- "a9cwEQcbWqWzA5hzkjRUWi"
asset <- kobo_asset(uid)
lang <- kobo_lang(asset)
lang

## End(Not run)


dickoa/robotoolbox documentation built on Dec. 20, 2024, 12:33 a.m.