Package: survey160r 0.78.1

Lennon Shimokawa

survey160r: R Client for Survey160 Data

Access Survey160 campaign data from R. Reads campaign exports from Google Cloud Storage or local files and triggers fresh exports via the Survey160 API. Computes per-campaign recipient-latency reports, screens phone samples against the disposition dataset and the opt-out list, and rolls disposition and campaign metrics up to funnel counts and rates. Results are in-memory data frames; persistence and fleet orchestration live in consumer projects.

Authors:Lennon Shimokawa [aut, cre]

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

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

Bug tracker:https://github.com/survey160/survey160r/issues

On CRAN:

Conda:

4.64 score 1 stars 8 scripts 39 exports 39 dependencies

Last updated from:36fc10d6af. Checks:6 OK, 3 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK188
source / vignettesOK186
linux-releaseOK173
macos-releaseOK160
macos-oldrelOK2206
windows-develERROR173
windows-releaseERROR156
windows-oldrelERROR162
wasm-releaseOK119

Exports:campaign_metrics_pullcampaign_metrics_recordscampaign_metrics_summarydisposition_funneldisposition_input_columnsdisposition_pathsdisposition_pulldisposition_recordsdisposition_rundisposition_screendisposition_stepsdisposition_summaryfunnel_rateslatency_build_configlatency_config_hashlatency_discover_questionslatency_funnellatency_input_columnslatency_reportlatency_runlatency_validate_configopt_out_pullopt_out_screenparse_campaign_timestampsquestion_funnelquestion_timestampss160_api_auths160_api_campaign_gets160_api_campaign_resultss160_configs160_csv_headers160_datasetss160_gcs_campaign_results_filess160_gcs_campaign_results_lists160_gcs_campaign_results_reads160_gcs_campaign_results_statuss160_gcs_inits160_read_csvutils_fix_double_utf8

Dependencies:askpassassertthatcachemclicpp11curldata.tabledigestdplyrfastmapfsgarglegenericsgluegoogleAuthRgoogleCloudStorageRhttrjsonlitelifecyclelubridatemagrittrmemoisemimenanoparquetopensslpillarpkgconfigR6rappdirsrlangsystibbletidyselecttimechangeutf8vctrswithryamlzip

Disposition screening
Screen a sample | Screen on contact history | Look up specific numbers | Screen several samples | Roll up to funnel counts by dimension | Follow numbers over time | What you get back | Stored record columns | Notes | See also

Last update: 2026-10-27
Started: 2026-08-13

Campaign metrics
Summarize the funnel by dimension | Summarize a slice | Compute the rates on your own counts | What you get back | Notes | See also

Last update: 2026-10-26
Started: 2026-10-15

Latency analysis
Build a report | Customize the config | Run deterministically | Reduce a report to funnel counts | Count recipients reaching each question | Run a large export | What you get back | Notes | See also

Last update: 2026-10-26
Started: 2026-08-13

Opt-out screening
Screen a sample | Screen for opt-out and prior contact together | What you get back | Notes | See also

Last update: 2026-10-26
Started: 2026-09-01

Readme and manuals

Help Manual

Help pageTopics
survey160r: R Client for Survey160 Datasurvey160r-package survey160r
Download the campaign-metrics projection from Cloud Storagecampaign_metrics_pull
Read the campaign-metrics projection into analysis-ready cellscampaign_metrics_records
Summarize campaign metrics to funnel counts and rates by dimensioncampaign_metrics_summary
Summarize the disposition dataset to funnel counts and rates by dimensiondisposition_funnel
List the export columns disposition_run() readsdisposition_input_columns
Read the disposition dataset as one path per phone, and match sequence patternsdisposition_paths
Download the disposition dataset from Cloud Storagedisposition_pull
Read the disposition records, one row per phone and campaigndisposition_records
Build the per-respondent disposition frame for one campaigndisposition_run
Screen a sample against the disposition datasetdisposition_screen
Read the disposition dataset as a sequence: one row per campaign, with historydisposition_steps
Summarize the disposition dataset to one row per phonedisposition_summary
Add the standard funnel rates to a counts framefunnel_rates
Build a latency config from a campaign exportlatency_build_config
Hash a latency configlatency_config_hash
Discover the question flow from export column nameslatency_discover_questions
Reduce a latency report to funnel countslatency_funnel
List the export columns the latency report readslatency_input_columns
Compute a latency report for one campaignlatency_report
Build the config and run the latency report for one campaignlatency_run
Validate a latency config against a campaign exportlatency_validate_config
Download the opt-out list from Cloud Storageopt_out_pull
Screen a sample against the opt-out listopt_out_screen
Parse campaign-export timestampsparse_campaign_timestamps
Count the recipients reaching each question of a campaign exportquestion_funnel
Read one question's timestamps from a campaign exportquestion_timestamps
Authenticate to the Survey160 APIs160_api_auth
Read one campaign's attributes from the Survey160 APIs160_api_campaign_get
Trigger a fresh campaign export and read its160_api_campaign_results
Read the Survey160 environment configurations160_config
Read the column names of a campaign exports160_csv_header
List the Survey160 datasets and their environmentss160_datasets
List the files in a campaign's Cloud Storage folders160_gcs_campaign_results_files
List the campaign ids in the campaign-results buckets160_gcs_campaign_results_list
Read a campaign export from Cloud Storages160_gcs_campaign_results_read
Check a campaign export's update time and sizes160_gcs_campaign_results_status
Authenticate to Google Cloud Storages160_gcs_init
Read a campaign export from a local files160_read_csv
Detect or repair double-encoded UTF-8 in export textutils_fix_double_utf8