View source: R/GenerateMockResponses.R
add_headers_and_footers | R Documentation |
Submissions to ODK central have headers and footers so the forms can be managed and metadata included. This function adds the necessary headers and footer based on the survey file
add_headers_and_footers(metadata, xml_string, survey_path = NULL)
metadata |
The "settings" sheet of the xls form |
xml_string |
The string which needs headers and footers added |
survey_path |
The path to the survey file where we obtain the metadata information |
Rpackage file: GenerateMockResponses.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.