Get results from a query to the database
query_icews(query, db_path = find_db())
SQL query string
Path to SQLite database file]
query_icews
is a wrapper around DBI::dbGetQuery()
that will
open a connection to the database, submit and return the query results, and
then close the database connection.
if (FALSE) {
query_icews("SELECT count(*) FROM events;")
}