ctoimport | R Documentation |
The function fetch data from surveycto server using formid, which is a form identifier. It imports data in .csv format, without repeat group data.
ctoimport(
servername,
formid,
username,
password,
dataName = NULL,
language = ""
)
servername |
SurveyCTO servername |
formid |
Get this from Setting sheet in the XLSForm workbook or in the form definition in the server. |
username |
SurveyCTO username, without including the .survecto.com |
password |
SurveyCTO password, it is encouraged not to put the password in a plain text in your script. Employ it in |
dataName |
Name of the data to be stored in R memory, default is data. |
language |
This determines that labels language to be used to label the data. |
## NOT RUN
ctoimport(Sys.getenv("servername"),'VAVS_CRF_03',Sys.getenv("username"),Sys.getenv("password"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.