Description Usage Arguments Value Note Author(s)
View source: R/phoenix_tables.R
Scrape, merge, and process Phoenix and ICEWS data into a large data table for aggregation and subsetting.
1 | phoenix_tables(phoenix_loc, icews_loc, update = T)
|
phoenix_loc |
folder containing Phoenix data sets as daily .csv data tables. Automatically checks for new data sets each time the function is run, and downloads new daily data as it becomes available. Currently in 'one-and'done' format where it downloads the first time, and checks thereafter. |
icews_loc |
folder containing ICEWS data sets as daily .tab data tables. Because I don't know how to work a SWORD API, these will need to be manually downloaded and updated. |
master_table a data.table object containing ALL merged/processed Phoenix and ICEWS data. One row per event-dyad-day.
This function is still in early development and may contain significant errors. Don't trust it.
Jesse Hammond
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.