Description Usage Arguments Value See Also Examples
Downloads the Polity IV data set. It keeps specified variables and creates a standard country ID variable that can be used for merging the data with other data sets.
1 2 3 |
url |
character string. The URL for the Polity IV data set you would like to download. Note: it must be for the SPSS version of the file. |
vars |
character vector containing the variables to keep. If
|
OutCountryID |
character string. The type of country ID you would like
to include in the output file along with the country name. See
|
standardCountryName |
logical. Whether or not to standardise the country
names variable based on |
na.rm |
logical. Drop observations where |
duplicates |
character specifying how to handle duplicated country-year
observations. Can be set to |
fromLast |
logical indicating if duplication should be considered
from the reverse side. Only relevant if |
a data frame
countrycode
, CountryID
,
WinsetCreator
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.