queryDB: PostgreSQL Queries on Database (Read)

View source: R/querieSQL.R

queryDBR Documentation

PostgreSQL Queries on Database (Read)

Description

This function lets the user query a PostgreSQL database. Previously was called queryDummy but was replaced and deprecated for a more general function by using the from parameter.

Usage

queryDB(query, from, creds = NA)

Arguments

query

Character. SQL Query

from

Character. Credential's user (see get_creds())

creds

Character. Credential's directory (see get_creds())

Value

data.frame. Result of fetching the query data.

See Also

Other Credentials: db_download(), db_upload(), get_credentials(), get_tweets(), mail_send(), queryGA(), slackSend(), stocks_file()


laresbernardo/lares documentation built on Oct. 23, 2024, 12:05 p.m.