An R interface to the 'typeform' < https://typeform.com> application program interface. Also provides functions for downloading your results.
Typeform is a company that specialises in online form building. This R package allows users to download their form results through the exposed API.
The package can be installed from CRAN
or you can install the development version via
The package can then be loaded in the usual way
To use this package, you will need a data API key. With this key in position, you can then list your available forms
api = "XXXXX"typeforms = get_all_typeforms(api)
If you don't pass your
api key as an argument, it will attempt to read the variable
You can download data from a particular typeform via
There are a number of options for downloading the data. For example
## Only completed formsget_results(uid, api, completed=TRUE)## Results since the 1st Janget_results(uid, api, since=as.Date("2016-01-01"))
?get_results help page for other options.
Imagine we only want to fetch only the last 10 completed responses.
This gives the function call
get_results(uid, api, completed=TRUE, order_by="date_submit_desc", limit=10)