Downloads the 2022 update (v. 6.4) of the Lexical Index of Electoral Democracy (annual time series, data to 2021) and processes it using country_year_coder.

redownload_lied(url, verbose = TRUE, return_raw = FALSE, ...)

Source

S. Skaaning, J. Gerring, and H. Bartusevičius. "A Lexical Index of Electoral Democracy". In: Comparative Political Studies 48.12 (2015), pp. 1491-1525. DOI: 10.1177/0010414015581050. Original data and variable descriptions available at https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/WPKNIT

Arguments

url

The URL of the dataset. Defaults to https://dataverse.harvard.edu/api/access/datafile/6290760

verbose

Whether to print a running commentary of what the function is doing while processing the data.

return_raw

Whether to return the raw data, without any processing. Default is FALSE.

...

Other parameters passed to country_year_coder.

Examples

if (FALSE) {
redownload_lied()}