Run a custom SQL query

am_custom_query(sql_query, con, ...)

Arguments

sql_query

the query

con

the connection to use, if missing an sqlite con is used

...

other arguments to be passed to the sql() fcn

See also

Examples

if (FALSE) { am_custom_query("select * from speciesoccursum_r", con = con_am("extdata")) }