Description Usage Format Details Source

A dataset containing the prices and other attributes of almost 54,000 diamonds.

1 |

A list of 15 elements

- K
an integer, the total number of countries in the data

- T
an integer, the total number of years in the data

- Q
an integer, the total number of distinct survey questions in the data

- R
an integer, the maximum number of response cutpoints in any survey question in the data

- N
an integer, the number of KTQR observations

- kk
a numeric vector of length N, the country of each observation

- tt
a numeric vector of length N, the year of each observation

a numeric vector of length N, the question of each observation

- rr
a numeric vector of length N, the response cutpoint of each observation

- y_r
a numeric vector of length N, the number of respondents who provided a response above the relevant cutpoint for each observation

- n_r
a numeric vector of length N, the total number of respondents for each observation

- fixed_cutp
a QxR matrix, a truth table indicating the question-cutpoint to be fixed at difficulty .5

- use_delta
a QxK tibble, a truth table indicating whether item difficulty should be estimated to vary by question-country to account for potential item-response bias

- data
an Nx14 tibble, the aggregate survey response dataset in its original format

- data_args
a list of length 3, indicating the arguments passed to DCPOtools::format_dcpo to generate demsup_data from demsup_data$data

Data on aggregate support for democracy reported in 51 survey datasets in 998 country-years, formatted for use with the functions of the DCPO package

demsup_data replicates the data employed in Claassen, Christopher. 2019. "Estimating Smooth Country-Year Panels of Public Opinion." Political Analysis 27(1):1-20. See https://github.com/fsolt/DCPOtools.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.