read_sql_query: Send an SQL query to Athena and receive a dataframe.

View source: R/read.R

read_sql_queryR Documentation

Send an SQL query to Athena and receive a dataframe.

Description

Send an SQL query to Athena and receive a dataframe.

Usage

read_sql_query(sql)

Arguments

sql

An SQL query

Value

Dataframe or tibble if the tibble library is loaded.

Examples

`df <- dbtools::read_sql_query('select * from my_db.my_table')`

moj-analytical-services/dbtools documentation built on Sept. 29, 2024, 2:06 a.m.