gss_panel06_long, gss_panel08_long, and gss_panel10_long) which led to the values of some variables being incorrectly attributed across waves. Thanks to Pat Hastings for identifying the error.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 the gss_get_yr() function, and {gssrdoc}, which integrates the GSS codebook into R's help system. It includes the gss_dict object and the panel documentation object gss_panel_doc. I recommend you install both packages.get_which_ballots() function to return tibble of ballots a question appeared on.var_ballots list column to gss_dict object, indicating the distribution of answers across ballots for each Q.R CMD check with no ERRORS or WARNINGS[NAME] and [PROMPT] so they do not try to autolink in Rd build process.gss_all to Release 2a of the 1972-2022 Cumulative Data File (January 2024)?, 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 filegss_get_marginals() and gss_get_props() as these are largely superseded by the new built-in variable documentation.gss_dict incorporates additional information.gss_dict as an alternative way of looking at the documentation.gss_get_years() has been renamed to gss_which_years() to make it less confusingly similar to the gss_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.gss_get_yr function to fetch a specific GSS survey year's data.gss_all retain STATA missing codes for IAP, Can't choose, and DK. (Thanks to @dustinstolz.)gss_panel_doc, has been updated to a wide format that makes it easier to browse the variables.drat repository for gssr at http://kjhealy.github.io/drat.drat to the documentation.NEWS.md file to track changes to the package.