kpi_get_xlsform | R Documentation |
asset_id
Downloads the current XLSForm for a survey with ID asset_id
.
kpi_get_xlsform(asset_id, file = NULL, verbose = TRUE)
asset_id |
The survey's asset ID (found after the "/forms/" in the URL) |
file |
If not |
verbose |
If |
An odk_xlsform
object, a list()
with id
, survey
,
choices
, and settings
entries.
## Not run:
# Form url is this: https://kf.kobotoolbox.org/#/forms/abcdefghijklmnop
# Asset ID is: abcdefghijklmnop
form <- karpi::kpi_get_xlsform("abcdefghijklmnop")
print(form$survey)
print(form$choices)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.