For developers

R

Consume Warconomy in R: read a CSV distribution straight into a data frame, or parse the JSON export with jsonlite, then filter to live observations. Static files only — no package to install beyond your usual stack. Not real-time.

static reference · data June 5, 2026

Read a CSV distribution straight into a data frame with read.csv, or parse the JSON export with jsonlite. Then filter to live observations before citing. There is no Warconomy package — just base R or jsonlite against static files.

  • read.csv or jsonlite; static files.
  • Filter to live rows before citing.
  • CSV distributions are the simplest path.

Read a CSV distribution

# read a CSV distribution directly
obs <- read.csv("https://warconomy.com/datasets/conflict-economic-impact/observations.csv")
live <- subset(obs, dataMode == "live")  # cite live values only

Parse the JSON export

library(jsonlite)
data <- fromJSON("https://warconomy.com/datasets/conflict-economic-impact/data.json")
live <- subset(data$observations, dataMode == "live")

More

Python: /developers/python · spreadsheets: /developers/spreadsheets · distributions: bundle.

Related Warconomy pages