## Not run:
# # Download full data set
# PolityData <- PolityGet()
#
# # Create data frame with only the main Polity democracy variable (polity2)
# Polity2Data <- PolityGet(vars = 'polity2',
# OutCountryID = 'imf')
# ## End(Not run)
Run the code above in your browser using DataLab