query_icews: Query ICEWS

View source: R/database.R

query_icewsR Documentation

Query ICEWS

Description

Get results from a query to the database

Usage

query_icews(query, db_path = find_db())

Arguments

query

SQL query string

db_path

Path to SQLite database file]

Details

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.

Examples

## Not run: 
query_icews("SELECT count(*) FROM events;")

## End(Not run)


andybega/icews documentation built on July 7, 2023, 1:29 p.m.