Skip to content

Releases: gergness/srvyr

0.3.6

12 Oct 18:00
Compare
Choose a tag to compare
  • Small update to quasiquotation syntax inside unweighted to improve consistency with recent rlang updates (#54).

  • Added functions survey_tally() and survey_count() (#53)

0.3.5

28 Jul 14:24
Compare
Choose a tag to compare

srvyr 0.3.5

  • New functions survey_var and survey_sd to calculate population variance and
    standard deviaton.

  • Computation of standard errors in all survey_ functions can be suppressed
    by setting vartype=NULL (#45, thanks @tzoltak).

  • Fixed an issue where you'd get an error when summarize components returned
    different lengths of data - usually when factor levels were not present
    in the data (#49).

  • Removed references to MonetDBLite since it has been removed from CRAN.

  • Small updates to replace soft-deprecated dplyr functions with their tibble
    and tidyselect equivalents (#52, thanks @bschneidr).

v0.3.4

22 Jan 19:23
Compare
Choose a tag to compare

srvyr 0.3.4

  • survey_mean/survey_total allow deff="replace" like their survey package forbearers. (#46, thanks @mandes95)

  • Fixes for new release of dplyr

v0.3.3

23 May 03:46
Compare
Choose a tag to compare

srvyr 0.3.3

  • Add warning to explain that design effects cannot be calculated on
    proportions. (#39, thanks @mlaviolet)

  • Remove dependency on stringr in tests and add DBI to suggests
    so that test dependencies are correctly specified (#40, thanks CRAN!)

v0.3.2

05 May 17:28
Compare
Choose a tag to compare
  • Bug fix for calculating multiple quantiles on grouped data (#38, thanks @iantperry)

v0.3.1

11 Mar 18:07
Compare
Choose a tag to compare

srvyr 0.3.1

  • Improve DB-backed survey conversion so that some updates from survey package are kept
  • Fixes for CRAN checks, Travis CI and revdep checks

Version 0.3.0

26 Jan 00:33
Compare
Choose a tag to compare

srvyr now uses tidy evaluation from rlang. The "underscore" functions have been soft deprecated in favor of quosure splicing. See dplyr's vignette "programming" for more details. In almost all cases, the old syntax will still work, with one exception: the standard evaluation function as_survey_twophase_() had to be changed slightly so that the entire list is inside quotation.

Datbase support has been rewritten. It should be faster now and doesn't require a unique identifier. You also can now convert survey db-backed surveys to srvyr with as_survey.

srvyr now has a pkgdown site, check it out at http://gdfe.co/srvyr

0.2.1

26 Apr 23:03
Compare
Choose a tag to compare
  • Added support for dplyr mutate_at/_if/_all and summarize_at/_if/_all for
    srvyr surveys.

  • Fixed a few bugs introduced with dplyr 0.6. This version of srvyr will work
    with both old versions of dplyr and 0.6, but may be full of warnings if you
    update dplyr. Full support for the new dplyr is coming soon.

srvyr 0.2.0

25 Sep 22:59
Compare
Choose a tag to compare

Adds database support

0.1.2

28 Jun 14:26
Compare
Choose a tag to compare
  • Fixed a problem with confidence levels not being passed into quantiles
  • Added deff parameter to survey_mean(), survey_total() and survey_median(), and a df parameter to those functions and survey_quantile() / survey_median().
  • summarize and mutate match dplyr's behavior when arguments aren't named (uses dplyr::auto_name())