Learn R Programming

srvyr (version 1.3.0)

collect: Force computation of a database query

Description

collect retrieves data from a database query (and when run on a tbl_svy object adjusts weights accordingly). Use collect when you want to run a function from the survey package on a srvyr db backed object. compute stores results in a remote temporary table.

Arguments