Skip to content

Commit

Permalink
Mention the new degf parameter in the database vignette, since this…
Browse files Browse the repository at this point in the history
… parameter is important for large datasets.
  • Loading branch information
bschneidr committed Mar 9, 2024
1 parent 6b5237d commit 003d4fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vignettes/srvyr-database.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ it will save a lot space.
object.size(acs_m_db_svy)
```

For very large survey data sets with replicate weights, it is strongly recommended to specify a value in the `degf` parameter of `as_survey_rep()`: otherwise, the survey package will attempt to automatically determine the design degrees of freedom using a process that can be very slow for large data sets. The value to use for `degf` will often be specified in survey data documentation, but a common rule of thumb is the number of columns of replicate weights.

# Analysis #

Analysis commands from srvyr are also similar to ones that work on local data.frames.
Expand Down

0 comments on commit 003d4fb

Please sign in to comment.