To access data from your surveys, you need to store your login information (name of subdomain
and API key
) in your local R environment. As described below, this can be done in two ways (this has been borrowed from Scott Chamberlain/his rnoaa
package package).
PS: Don’t use my API key
, of course. See https://wufoo.github.io/docs/
A helper function
auth_name()/auth_api()
looks for one of two stored keys, as an environment variable under the nameWufoo_Name
/Wufoo_API
, or an option variable under the nameWufoo_Name
/Wufoo_API
.
Environment variables can be set during session like
Sys.setenv(VAR = "...")
, or stored long term in your.Renviron
file. Option variables can be set during session likeoptions(var = "...")
, or stored long term in your.Rprofile
file.
Print information about myself & API key.
Let’s print some information about the user.
And now what about the forms you have access to.
t(form_info(formIdentifier = "z5kqx7h1gtvg4g", includeTodayCount="FALSE"))
t(form_info(includeTodayCount="FALSE"))
# Show responses to the form
fe_1 <- form_entries(formIdentifier = "z5kqx7h1gtvg4g")
t(fe_1)
sapply(fe_1, class)
And how many responses did we get sofar ?
And form comments ?
form_comments(formIdentifier = "z5kqx7h1gtvg4g", domain = "wufoo.eu")
form_commentsCount(formIdentifier = "z5kqx7h1gtvg4g")
Form entries in CSV ?
Show form’s fields, with the requested URL (for debug purposes).
Do I have some reports ? If yes, then show me information about them.
Number of entries in the report and details of the widgets that make up a specific report
.