srvyr icon indicating copy to clipboard operation
srvyr copied to clipboard

R package to add 'dplyr'-like Syntax for Summary Statistics of Survey Data

Results 31 srvyr issues
Sort by recently updated
recently updated
newest added

- Should survey_quantiles have a way to put the quantiles long? - Should add a Roxygen grouping for the `survey_*` functions so that it's easier to hop between them -...

Seems like an easy mistake to make, and currently it just silently gives you the median. ``` r library(srvyr) data(api, package = "survey") dstrata % as_survey(strata = stype, weights =...

This seems like a more logical default given the context people will expect. Documentation already states: This addresses issue #141

`survey_mean` and `survey_prop` are vary similar. I feel, based on the function name, `survey_prop` should default to `proportion=TRUE`. Thoughts?

I'm wondering if it would be possible to allow `srvyr` survey design objects to work with `tidymodels`. Example below (with error): ```r library(survey) library(srvyr) library(tidymodels) data(api) # stratified sample dstrata...

If you're grouping by an `interact` variable, it's not possible to avoid dropping missing levels. ``` r library(srvyr) data(api, package = "survey") dstrata % as_survey_design(strata = stype, weights = pw)...

`survey::svymean()` results an object of class `svystat`, which has a `vcov()` method to obtain not only the variances of the estimates but also their covariances. Is there a way to...

It feels like such a good idea to have a file format with the survey design information in it, I'd love to help try and make this a thing. I...

If you know of any resources about `srvyr` or using survey data in R generally that you think should be included in srvyr's README and vignette, please put them here!

help wanted

There is a `filter()` method for `tbl_svy`, but there isn't a `slice()` method, or any of the `*_join()` methods, as far as I can tell. Would it be possible to...