SurveySolutionsAPIv2: Comprehensive API Access to Your 'Survey Solutions' Server Using 'httr2'

A comprehensive suite of functions for interfacing with the 'Survey Solutions' APIs (<https://demo.mysurvey.solutions/apidocs/index.html> and <https://docs.mysurvey.solutions/>). It supports all the current POST, GET, and PATCH requests of the 'REST' API and extends its capabilities by integrating selected 'GraphQL' API queries and mutations when 'REST' API equivalents are not available. Designed for ease of use, it includes several convenience functions to streamline operations. The package ensures that data retrieved from the API is automatically transformed into a single, easy-to-use data frame or data table, optimizing it for subsequent analysis and processing. Additionally, it is specifically designed to facilitate seamless integration into 'shiny' applications, enhancing the interactive web application development experience. Built on the robust 'httr2' package, this version supersedes the previous 'httr'-based implementation. Recognizing the needs of large-scale data operations such as censuses, the package also incorporates features for parallel processing, enhancing its efficiency and scalability.

Version: 0.1.2
Depends: R (≥ 4.1.0)
Imports: cli, curl, data.table, dplyr, foreach, graphics, httr2, jsonlite, lubridate, readr, rlang, shiny, stats, stringr, susographql (≥ 0.1.1), tidyjson, tidyr, withr, zip
Suggests: doFuture, DT, future, future.apply, ggplot2, knitr, progressr, readxl, rmarkdown, sf, testthat (≥ 3.0.0)
Published: 2026-10-24
DOI: 10.32614/CRAN.package.SurveySolutionsAPIv2 (may not be active yet)
Author: Michael Wild [aut, cre, cph]
Maintainer: Michael Wild <michael.wild at me.com>
BugReports: https://github.com/michael-cw/SurveySolutionsAPIv2/issues
License: MIT + file LICENSE
URL: https://michael-cw.github.io/SurveySolutionsAPIv2/, https://github.com/michael-cw/SurveySolutionsAPIv2
NeedsCompilation: no
Language: en
Materials: README, NEWS
CRAN checks: SurveySolutionsAPIv2 results

Documentation:

Reference manual: SurveySolutionsAPIv2.html , SurveySolutionsAPIv2.pdf
Vignettes: Data Export and Processing Pipelines (source, R code)
Interview Monitoring, Paradata, and Quality Control (source, R code)
Questionnaires, Structure, and Codebooks (source, R code)
Quickstart: Connecting and Exploring Your Server (source, R code)
Field Operations, Users, and Assignments (source, R code)

Downloads:

Package source: SurveySolutionsAPIv2_0.1.2.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=SurveySolutionsAPIv2 to link to this page.