gta_sql_get_value: Get a value from the SQL database.

View source: R/gta_sql_get_value.R

gta_sql_get_valueR Documentation

Get a value from the SQL database.

Description

Just a wrapper, really. Returns a scalar or a data frame, depending on how many results you have.

Usage

gta_sql_get_value(query = NULL, db.connection = "pool")

Arguments

query

Your query in SQL language (incl SQL naming!).

db.connection

Specify the database connection you want to use. Default is 'pool'.

Author(s)

Global Trade Alert

References

www.globaltradealert.org


global-trade-alert/gtasql documentation built on April 25, 2022, 10:33 a.m.