Description Usage Arguments Details
get_CAMEO_count
returns the count of all the events that have
a specified CAMEO code
1 2 | get_CAMEO_count(conn, cameo.codes, date = NULL, source.country = NULL,
target.country = NULL)
|
conn |
A MySQL connection to the ICEWS database. Supply your credentials
to |
cameo.codes |
A string vector of the CAMEO codes |
date |
A string in the YYYYMMDD format. If |
source.country |
A string specifying the ISOA3Code of the source country.
If |
target.country |
A string specifying the ISOA3Code of the target country.
If |
This function takes one (or several) CAMEO codes, a date, and two vectors for source and target countries. It will return the count of events that have the specified CAMEO code and that happen between the source and target countries on the given date.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.