Documentation

Source Code

The hyperlinks presented in the list below each link to a separate chapter with detailed documentation directed at researchers using the DRS data set.1

  • The package icon for R cdrs. The icon is a hexagonal shape like other R package icons. It has a black border, with a blue and green interior. The interior depicts text that reads 'cdrs' in courier font, the silhouette of two cedar trees, and a small grey polygon reminiscent of the California Delta boundary.

    The {cdrs} Package: An R package to facilitate reproducible analysis of the DRS data set.

  • Ordinal & Missing Data: This chapter describes how the DRS data set has special metadata that describes the underlying data structure. While this chapter only briefly discusses the “code” per se, it more fully describes how to interpret the data we provide.

  • Core Functions: The core functions to load the DRS 2023 data set. Notice: This document contains important pseudo-code to aid non-R users in reproducing the core reading function. However, the actual code here has been superseded by the new {cdrs} package listed above.

Survey Methods

In addition to the documentation below, we also provide a summary of our methods in the Summary Report, available on the home page.

  • Survey Weights and Complex Survey Design: A brief introduction to survey weights and, more broadly, survey design. We will attempt to answer: what are weights, why are they important, and how should they be used in the DRS?

Footnotes

  1. There are separate code repositories with their own sets of documentation as well. The documentation therein are directed at those interested in augmenting the source code, rather than simply utilizing it. If you wish to address bugs or make contributions, we refer you to the GitHub repositories. There are currently two public-facing repositories: the one from which this website was created (which also contains ‘core functions’ for posterity), and the package repository. The latter repository is where the bulk of the tools for the analysis of the DRS data are stored.↩︎