Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 

README.md

UCDPtools

Description

The one stop shop for accessing and managing datasets from the Uppsala Conflict Data Program (UCDP). UCDPtools makes it easy to access UCDP datasets and their codebooks.

Future iterations will have the datasets with different units, for example a year-actor version of "ArmedConflict" with a conflict count.

Accessing UCDP

Access the index of UCDP datasets, directly open codebooks, and load datasets with options to fix variable names and obvious data mistakes.

data(UCDPindex)
browseURL(UCDPindex$codebook_link[UCDPindex$shortname=="One-Sided"])
onesided <- getUCDP("One-Sided", rawdata=TRUE, rawnames=TRUE)

Installing

Access UCDPtools using the devtools package. Note, on Windows you must have PERL for parts of getUCDP().

library(devtools)
install_github("tlscherer/UCDPtools", dependencies=TRUE)
library(UCDPtools)
data(UCDPindex)

Troubleshooting

This package was created on Windows, it has not been tested on other platforms. Please contact tlscherer if you find errors or have ideas to improve it.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.