push.svy: push a svy object up to the database

Description Usage Arguments

Description

push a svy object up to the database

Usage

1
2
## S3 method for class 'svy'
push(s, indexes = NULL, overwrite = FALSE, ...)

Arguments

s

a svy object

indexes

ignored for now

overwrite

whether to overwrite existing tables

name

cannonical, unique survey name. by convention: <project-id>_<project-name>[__<survey-name>].

con

a PqConnection to the survey database

Push data and metadata of the survey up to the server. The schema takes the name of the survey and contains at least five tables: * instance, containing the collected data with one column per question * question, containing the form structure, including group information, name information, node, type and labels, one row per question * choice, containing the choices for multiple choice questions, including question and the choice name * label, containing the text of all question labels in all available languages, with question, language and text columns * choice_label, containing the test of all choice labels, with question, choice, language and text columns

@return a list of tibbles connected to the database

@export


mlgrm/svyr documentation built on May 13, 2019, 11:08 a.m.