ranges_sql is an internal function used to submit SQL queries.
ranges_sql(
query,
user = "public_bien",
password = "bien_public",
ranges = NULL,
limit = NULL,
return.query = FALSE,
schema = "analytical_db",
db_name = "vegbien",
print.query = FALSE
)A dataframe returned by the query.
A PostgreSQL query.
The username used to access the BIEN database
The password associated with the username
Alternative value to be substituted for "ranges" in queries when not NULL.
A limit on the number of records to be returned. Should be a single number or NULL (the default).
Should the query used be returned rather than executed? Default is FALSE
An alternative schema to be accessed. Used for testing purposes.
An alternate database to be used rather than the default, vegbien.
Should the query used be printed? Default is FALSE