
Connect to ODK Server
connect_to_form.RdThis function establishes a connection to an ODK server with the provided credentials and project/form IDs.
Details
The function reads the username and password from the specified credential file and uses them to authenticate with the ODK server. It sets the time zone to "Europe/Paris" and enables verbose output for debugging.
Examples
## -----------------------------------------------------------------
## The following examples demonstrate the intended usage.
## They are not executed automatically; remove `\dontrun{}` to run.
## -----------------------------------------------------------------
if (FALSE) { # \dontrun{
# Assume the credentials are stored in "my_cred.txt"
# (first line = username, second line = password)
# connect_to_form(
# server = "your_server_url",
# pid = "your_project_id",
# fid = "your_form_id",
# credential = "/path/to/credentials.txt"
# )
} # }