- Split
gssr
into two packages:{gssr}
(the data sets) and{gssrdoc}
(the integrated documentation). Rationale: The goal of this version of the package is to allow for binary installs via R-Universe. A binary package allows for faster installation, which matters here because{gssr}
is a large package. Given the current resource limits of the GitHub runners that build packages, R-Universe can't build{gssr}
with all the documentation. So I am experimenting with splitting it into two packages:{gssr}
, which contains the data and thegss_get_yr()
function, and{gssrdoc}
, which integrates the GSS codebook into R's help system. It includes thegss_dict
object and the panel documentation objectgss_panel_doc
. I recommend you install both packages.
- Add
get_which_ballots()
function to return tibble of ballots a question appeared on. - Add
var_ballots
list column togss_dict
object, indicating the distribution of answers across ballots for each Q. - gssr now passes
R CMD check
with noERRORS
orWARNINGS
- Fix vars with text like
[NAME]
and[PROMPT]
so they do not try to autolink in Rd build process.
- Fix Rd files that were preventing the PDF version of the docs from building.
- Further small fixes; bump min R version to 4.0.0
- Update
gss_all
to Release 2a of the 1972-2022 Cumulative Data File (January 2024) - Update the documentation to Release 2a also.
- Fix for 2022 and 2021 download years. Should be working again now.
- Added the latest cumulative file (1972-2022) and the latest panel data (2020, release 1a).
- Integrated help: every variable in the cumulative file has an R manual page (like a function would). You can browse the pages in the help viewer or query variables by name from the console with
?
, as you would with any documented object or function. gss_get_yr()
can now fetch the 2022 cross-sectional filegss_get_yr()
now correctly downloads the 2021 crossectional file- Removed
gss_get_marginals()
andgss_get_props()
as these are largely superseded by the new built-in variable documentation. gss_dict
incorporates additional information.
- Added
gss_dict
as an alternative way of looking at the documentation.
-
gss_get_years()
has been renamed togss_which_years()
to make it less confusingly similar to thegss_get_yr()
function. The former looks to see when a question was asked. The latter pulls a given year's dataset from the GSS website. -
Update the base URL in
gss_get_yr()
. Thanks to (@lindsaypoirier.)
gss_all
now includes the 2021 data release imported from the GSS 1972-2021 Cross-Sectional Cumulative Data (Release 1, Nov. 1, 2021). The documentation tibble does not yet include the 2021 variables.
- New
gss_get_yr
function to fetch a specific GSS survey year's data.
- In
gss_all
retain STATA missing codes for IAP, Can't choose, and DK. (Thanks to @dustinstolz.)
- The panel documentation tibble,
gss_panel_doc
, has been updated to a wide format that makes it easier to browse the variables.
- Moved from Travis CI to GitHub Actions for build testing.
- Minor warnings resolved.
- Created a
drat
repository forgssr
at http://kjhealy.github.io/drat. - Added installation instructions covering
drat
to the documentation.
- Prepped for initial release
- Fixed errors in the panel tibbles; removed panelr depenedency; added all three-wave panels
- Wrote a short vignette giving an overview of the package.
- Cumulative Data File and Three Wave Panel Data added.
- Added a
NEWS.md
file to track changes to the package.