DataTables | R Documentation |
This function returns the list of data tables in the UTD server and requires an API key.
The API key can be obtained after filling out the form in the UTD event data sign-up website
(http://eventdata.utdallas.edu/signup). Please follow the direction in the UTD sign-up webpage.
You can also use this function through the reference class, Table()
.
The option of storing an API key in an environment variable is prepared to run the function without passing an API key every time. Please see the examples bellow.
The details of data tables are illustrated in the linked websites.
Phoenix_RT: Real-time data from Oct. 2017 to today, please see more details in Open Event Data Alliance.
ICEWS: Integrated Crisis Early Warning System from Harvard Dataerse from 1995 to Oct. 2018. Please see more details in ICEWS Dataverse.
Phoenix NYT: accumulated from 1945 to 2005, information of Phoenix Event Data is found at the Cline Center.
Phoenix FBIS: accumulated from 1995 to 2004, information of Phoenix Event Data is found at the Cline Center.
Phoenix SWB: accumulated from 1979 to 2015, information of Phoenix Event Data is found at the Cline Center.
TERRIER: accumulated from 1979 to 2016, information of TERRIER political event data is found at Terrierdata.org.
DataTables(utd_api_key = NULL)
utd_api_key |
an API key provided by the UTD server manager |
A list of the data tables currently downloadable from the UTD server as a character format
## Not run: DataTables(utd_api_key=' your API key') # method 1: passing a UTD API KEY as the first argument k <- "utd_api_key" DataTables(k) # method 2: storing a UTD API KEY in an environment variable Sys.setenv(UTDAPIKEY = "...your API key...") DataTables() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.