Package: ctoclient 0.2.3

ctoclient: A Modern and Flexible Data Pipeline for 'SurveyCTO'

A modern and flexible R client for the 'SurveyCTO', a mobile and offline data collection platform, providing a modern and consistent interface for programmatic access to server resources. Built on top of the 'httr2' package, it enables secure and efficient data retrieval and returns analysis-ready data through optional tidying. It includes functions to create, upload, and download server datasets, in addition to fetching form data, files, and submission attachments. Robust authentication and request handling make the package suitable for automated survey monitoring and downstream analysis.

Authors:Gutama Girja Urago [aut, cre, cph]

ctoclient_0.2.3.tar.gz
ctoclient_0.2.3.zip(r-4.7-any)ctoclient_0.2.3.zip(r-4.6-any)ctoclient_0.2.3.zip(r-4.5-any)
ctoclient_0.2.3.tgz(r-4.6-any)ctoclient_0.2.3.tgz(r-4.5-any)
ctoclient_0.2.3.tar.gz(r-4.7-any)ctoclient_0.2.3.tar.gz(r-4.6-any)
ctoclient_0.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ctoclient/json (API)

# Install 'ctoclient' in R:
install.packages('ctoclient', repos = c('https://guturago.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/guturago/ctoclient/issues

Pkgdown/docs site:https://guturago.github.io

On CRAN:

Conda:

apiautomationmelsurveycto

5.11 score 8 scripts 492 downloads 28 exports 75 dependencies

Last updated from:e4b2554146. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK158
source / vignettesOK191
linux-releaseOK159
macos-releaseOK225
macos-oldrelOK191
windows-develOK110
windows-releaseOK109
windows-oldrelOK99
wasm-releaseOK117

Exports:cto_connectcto_dataset_createcto_dataset_deletecto_dataset_downloadcto_dataset_infocto_dataset_listcto_dataset_purgecto_dataset_uploadcto_docx_palettecto_form_attachmentcto_form_datacto_form_data_attachmentcto_form_definitioncto_form_docxcto_form_dofilecto_form_idscto_form_languagescto_form_mail_templatecto_form_metadatacto_form_printablecto_form_stata_templatecto_group_listcto_is_connectedcto_metadatacto_role_listcto_set_connectioncto_team_listcto_user_list

Dependencies:askpassbackportsbase64encbitbit64bslibcachemcellrangercheckmateclicliprcpp11crayoncurldata.tabledigestdplyrevaluatefastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgenericsgluehighrhmshtmltoolshttr2jquerylibjsonliteknitrlifecyclemagrittrmemoisemimeofficeropensslpillarpkgconfigprettyunitsprogresspurrrR6raggrappdirsRcppreadrreadxlrematchrlangrmarkdownsassstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttinytextzdbutf8uuidvctrsvroomwithrxfunxml2yamlzip

Managing Connections
1. Authentication strategies | The .Renviron approach | Interactive mode | The system keyring | 2. What a session is | Cookies | 3. Working with more than one server | 4. Customizing the underlying request | 5. Verbosity | See also

Last update: 2026-09-20
Started: 2026-05-13

Working with Form Data
1. Choosing what to download | 2. What tidy = FALSE gives you | 3. What tidying actually does | Missing select_multiple columns are added | Structural fields are dropped | Columns are reordered | Unselected options are filled with zero — conditionally | Types are converted | Geopoints are split | 4. Repeat groups | 5. When tidying goes wrong | 6. A note on running it twice | See also

Last update: 2026-09-20
Started: 2026-09-19

Readme and manuals

Help Manual

Help pageTopics
Connect to and manage a SurveyCTO Server connectioncto_connect cto_is_connected cto_set_connection
Create or Upload to Server Datasetscto_dataset_create cto_dataset_upload
Delete or Purge a Datasetcto_dataset_delete cto_dataset_purge
Download SurveyCTO Server Datasetscto_dataset_download
Get Dataset Propertiescto_dataset_info
List Available Server Datasetscto_dataset_list
Row Colours Used by the Form Review Documentcto_docx_palette
Download Attachments from a SurveyCTO Formcto_form_attachment
Download and Tidy SurveyCTO Form Datacto_form_data
Download Attachments from SurveyCTO Form Datacto_form_data_attachment
Generate a Printable Word Document of a Deployed SurveyCTO Formcto_form_docx
Generate a Stata Do-File with Variable and Value Labels from a SurveyCTO Formcto_form_dofile
Download SurveyCTO Form Files and Templatescto_form_languages cto_form_mail_template cto_form_printable cto_form_stata_template
Download SurveyCTO Form Metadata and Definitionscto_form_definition cto_form_metadata
Retrieve Server Metadata and Resource Listscto_form_ids cto_group_list cto_metadata cto_role_list cto_team_list cto_user_list