View source: R/get_builddata.R
get_builddata | R Documentation |
get_builddata()
generates a customized data frame containing location-project-year observations of U.S. military construction and housing spending in thousands of current dollars.
get_builddata(host = NA, startyear, endyear)
host |
The Correlates of War (COW) numeric country code or ISO3C code for the host country or countries in the series |
startyear |
The first year for the series |
endyear |
The last year for the series |
get_builddata()
returns a data frame containing location-project-year observations of U.S. military construction and housing spending in thousands of current dollars.
Michael E. Flynn
Michael A. Allen, Michael E. Flynn, and Carla Martinez Machain. 2020. "Outside the wire: US military deployments and public opinion in host states." American Political Science Review. 114(2): 326-341.
## Not run:
library(tidyverse)
library(troopdata)
example <- get_builddata(host = NA, startyear = 2008, endyear = 2019)
head(example)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.