formhubDownload: Download data from formhub.

Description Usage Arguments Value Examples

View source: R/formhub.R

Description

This function downloads a dataset for the given form and username, and produces a formhubData Object.

Usage

1
formhubDownload(formName, uname, pass = NA, ...)

Arguments

formName

formname on formhub.org for which we download the data

uname

formhub.org username

pass

formhub.org password, if the data and/or form is private

...

other parameters to pass onto formhubRead

Value

formhubDataObj a formhubData Object, with "data" and "form" slots

Examples

1
2
3
good_eats <- formhubDownload("good_eats", "mberg")
good_eats # is a data frame of all the data
good_eats

prabhasp/formhub.R documentation built on May 25, 2019, 11:25 a.m.