formr_items: Download items from formr

Description Usage Arguments Examples

View source: R/connect_to_formr.R

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

1
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

1
2
3
4
5
6
7
## 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]

grebbel/formr_test documentation built on May 17, 2019, 8:34 a.m.