srvyr: 'dplyr'-Like Syntax for Summary Statistics of Survey Data
Version 0.2.1

Use piping, verbs like 'group_by' and 'summarize', and other 'dplyr' inspired syntactic style when calculating summary statistics on survey data using functions from the 'survey' package.

AuthorGreg Freedman Ellis [aut, cre]
Date of publication2017-04-26 16:36:26 UTC
MaintainerGreg Freedman Ellis <greg.freedman@gmail.com>
LicenseGPL-2 | GPL-3
Version0.2.1
URL https://github.com/gergness/srvyr
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("srvyr")

Getting started

README.md
Databases in srvyr
`srvyr` compared to the `survey` package

Popular man pages

as_survey: Create a tbl_svy from a data.frame
as_survey_rep: Create a tbl_svy survey object using replicate weights
pipe: Pipe operator
summarise: Summarise multiple values to a single value.
survey_ratio: Calculate the ratio and its variation using survey methods
survey_total: Calculate the total and its variation using survey methods
svychisq: Chisquared tests of association for survey data.
See all...

All man pages Function index File listing

Man pages

as_survey: Create a tbl_svy from a data.frame
as_survey_design: Create a tbl_svy survey object using sampling design
as_survey_rep: Create a tbl_svy survey object using replicate weights
as_survey_twophase: Create a tbl_svy survey object using two phase design
as_tibble: Coerce survey variables to a data frame (tibble)
cascade: Summarise multiple values into cascading groups
dplyr_single: Single table verbs from dplyr
group_by: Group a (survey) dataset by one or more variables.
groups: Get/set the grouping variables for tbl.
pipe: Pipe operator
srvyr: svrvyr: A package for 'dplyr'-Like Syntax for Summary...
summarise: Summarise multiple values to a single value.
summarise_all: Summarise and mutate multiple columns.
survey_mean: Calculate the mean and its variation using survey methods
survey_quantile: Calculate the quantile and its variation using survey methods
survey_ratio: Calculate the ratio and its variation using survey methods
survey_total: Calculate the total and its variation using survey methods
svychisq: Chisquared tests of association for survey data.
tbl_svy: tbl_svy object.
tbl_vars: List variables produced by a tbl.
unweighted: Calculate the an unweighted summary statistic from a survey

Functions

\%>\% Man page
as.character.survey_vars Source code
as.data.frame.tbl_svy Source code
as_survey Man page Source code
as_survey.data.frame Man page Source code
as_survey.survey.design2 Man page Source code
as_survey.svyrepdesign Man page Source code
as_survey.tbl_sql Man page
as_survey.twophase2 Man page Source code
as_survey_ Man page Source code
as_survey_design Man page Source code
as_survey_design.data.frame Man page Source code
as_survey_design.survey.design2 Man page Source code
as_survey_design.tbl_sql Man page
as_survey_design_ Man page Source code
as_survey_rep Man page Source code
as_survey_rep.data.frame Man page Source code
as_survey_rep.survey.design2 Man page Source code
as_survey_rep.svyrep.design Man page Source code
as_survey_rep.tbl_sql Man page
as_survey_rep.tbl_svy Man page Source code
as_survey_rep_ Man page Source code
as_survey_twophase Man page Source code
as_survey_twophase.data.frame Man page Source code
as_survey_twophase.tbl_sql Man page Source code
as_survey_twophase.twophase2 Man page Source code
as_survey_twophase_ Man page Source code
as_tbl_svy Source code
as_tibble Man page
as_tibble.tbl_svy Source code
cascade Man page Source code
cascade_ Man page Source code
cascade_.grouped_svy Source code
cascade_.tbl_svy Source code
deparse_all Source code
dots Source code
dplyr_single Man page
factor_stat_reshape Source code
filter Man page
filter_ Man page
filter_.tbl_svy Source code
filtered_row_numbers Source code
funs Man page
funs_ Man page
get_uid_names Source code
get_var_est Source code
group_by Man page
group_by_ Man page
group_by_.tbl_svy Source code
groups Man page
groups.tbl_svy Source code
helper Source code
helper_list Source code
is.calibrated Source code
is.pps Source code
lazy_parent Source code
list_to_formula Source code
mutate Man page
mutate_ Man page
mutate_.tbl_svy Source code
mutate_all Man page
mutate_at Man page
mutate_each Man page
mutate_each_ Man page
mutate_if Man page
named_dots Source code
names2 Source code
nullable Source code
ordered_collect Source code
print.quoteless_text Source code
print.survey_vars Source code
print.tbl_svy Source code
rename Man page
rename_ Man page
rename_.tbl_svy Source code
select Man page
select_ Man page
select_.tbl_svy Source code
srvyr Man page
srvyr-package Man page
stop_direct_call Source code
stop_fake_method Source code
subset_svy_vars Source code
subset_svy_vars.survey.design2 Source code
subset_svy_vars.svyrep.design Source code
subset_svy_vars.twophase2 Source code
substr_right Source code
summarise Man page
summarise_ Man page
summarise_.grouped_svy Source code
summarise_.tbl_svy Source code
summarise_all Man page
summarise_at Man page
summarise_each Man page
summarise_each_ Man page
summarise_if Man page
summarize Man page
summarize_ Man page
summarize_all Man page
summarize_at Man page
summarize_each Man page
summarize_each_ Man page
summarize_if Man page
survey_mean Man page Source code
survey_mean_grouped_svy Source code
survey_mean_tbl_svy Source code
survey_median Man page Source code
survey_quantile Man page Source code
survey_quantile_grouped_svy Source code
survey_quantile_tbl_svy Source code
survey_ratio Man page Source code
survey_ratio_grouped_svy Source code
survey_ratio_tbl_svy Source code
survey_selector Source code
survey_stat_factor Source code
survey_stat_grouped Source code
survey_stat_grouped.default Source code
survey_stat_grouped.twophase2 Source code
survey_stat_proportion Source code
survey_stat_ungrouped Source code
survey_total Man page Source code
survey_total_grouped_svy Source code
survey_total_tbl_svy Source code
survey_vars Source code
svychisq Man page
svychisq.tbl_svy Source code
tbl_svy Man page
tbl_vars Man page
tbl_vars.tbl_svy Source code
transmute Man page
transmute_ Man page
uid Source code
uid_rename Source code
ungroup Man page
ungroup.grouped_svy Source code
ungroup.tbl_svy Source code
unweighted Man page Source code
wrap Source code

Files

inst
inst/doc
inst/doc/srvyr-vs-survey.R
inst/doc/srvyr-database.R
inst/doc/srvyr-database.Rmd
inst/doc/srvyr-database.html
inst/doc/srvyr-vs-survey.Rmd
inst/doc/srvyr-vs-survey.html
tests
tests/testthat.R
tests/testthat
tests/testthat/test_as_survey_design.r
tests/testthat/test_level.R
tests/testthat/test_basic_example.r
tests/testthat/test_as_survey_twophase.r
tests/testthat/test_as_survey_rep.r
tests/testthat/test_survey_statistics_basic.r
tests/testthat/test_survey_package.r
tests/testthat/test_as_survey.r
tests/testthat/test_survey_statistics.r
tests/testthat/test_cascade.r
tests/testthat/test_survey_mean_factor.r
tests/testthat/test_survey_proportion.R
tests/testthat/test_database.R
NAMESPACE
NEWS.md
R
R/srvyr.r
R/survey_statistics.r
R/group-by.r
R/as_survey_design.r
R/cascade.r
R/survey_vars.r
R/summarise.r
R/utils.r
R/survey_package_functions.R
R/subset_svy_vars.R
R/as_survey_rep.r
R/manip.r
R/as_survey.r
R/utils-db.R
R/tbl-svy.r
R/as_survey_twophase.r
vignettes
vignettes/srvyr-database.Rmd
vignettes/srvyr-vs-survey.Rmd
vignettes/acs_m.RData
vignettes/ignore
vignettes/ignore/database.R
vignettes/ignore/srvyr-database-speed.Rmd
vignettes/ignore/srvyr_speed.Rmd
vignettes/save_acs_data.R
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/dplyr_single.Rd
man/survey_total.Rd
man/group_by.Rd
man/pipe.Rd
man/as_survey_twophase.Rd
man/as_survey.Rd
man/survey_mean.Rd
man/svychisq.Rd
man/as_tibble.Rd
man/as_survey_design.Rd
man/summarise_all.Rd
man/unweighted.Rd
man/survey_quantile.Rd
man/groups.Rd
man/srvyr.Rd
man/tbl_vars.Rd
man/as_survey_rep.Rd
man/survey_ratio.Rd
man/cascade.Rd
man/summarise.Rd
man/tbl_svy.Rd
srvyr documentation built on May 19, 2017, 3:49 p.m.