query_icews | R Documentation |
Get results from a query to the database
query_icews(query, db_path = find_db())
query |
SQL query string |
db_path |
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.
## Not run:
query_icews("SELECT count(*) FROM events;")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.