formr_items: Download items from formr

View source: R/connect_to_formr.R

formr_itemsR Documentation

Download items from formr

Description

After connecting to formr using formr_connect() you can download items using this command. One of survey_name or path has to be specified, if both are specified, survey_name is preferred.

Usage

formr_items(survey_name = NULL, host = "https://formr.org", path = NULL)

Arguments

survey_name

case-sensitive name of a survey your account owns

host

defaults to https://formr.org

path

path to local JSON copy of the item table

Examples

## Not run: 
formr_connect(email = 'you@example.net', password = 'zebrafinch' )
formr_items(survey_name = 'training_diary' )

## End(Not run)
formr_items(path = 
	system.file('extdata/gods_example_items.json', package = 'formr', mustWork = TRUE))[1:2]

rubenarslan/formr documentation built on Feb. 6, 2024, 1:18 a.m.