Package: RAthena 2.6.1

RAthena: Connect to 'AWS Athena' using 'Boto3' ('DBI' Interface)

Designed to be compatible with the R package 'DBI' (Database Interface) when connecting to Amazon Web Service ('AWS') Athena <https://aws.amazon.com/athena/>. To do this 'Python' 'Boto3' Software Development Kit ('SDK') <https://boto3.amazonaws.com/v1/documentation/api/latest/index.html> is used as a driver.

Authors:Dyfan Jones [aut, cre]

RAthena_2.6.1.tar.gz
RAthena_2.6.1.zip(r-4.5)RAthena_2.6.1.zip(r-4.4)RAthena_2.6.1.zip(r-4.3)
RAthena_2.6.1.tgz(r-4.4-any)RAthena_2.6.1.tgz(r-4.3-any)
RAthena_2.6.1.tar.gz(r-4.5-noble)RAthena_2.6.1.tar.gz(r-4.4-noble)
RAthena_2.6.1.tgz(r-4.4-emscripten)RAthena_2.6.1.tgz(r-4.3-emscripten)
RAthena.pdf |RAthena.html
RAthena/json (API)
NEWS

# Install 'RAthena' in R:
install.packages('RAthena', repos = c('https://dyfanjones.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/dyfanjones/rathena/issues

Pkgdown:https://dyfanjones.github.io

On CRAN:

athenaawsboto3database

7.02 score 35 stars 38 scripts 1.1k downloads 46 exports 15 dependencies

Last updated 10 months agofrom:7c913bdb5d. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 28 2024
R-4.5-winNOTENov 28 2024
R-4.5-linuxNOTENov 28 2024
R-4.4-winNOTENov 28 2024
R-4.4-macNOTENov 28 2024
R-4.3-winOKNov 28 2024
R-4.3-macOKNov 28 2024

Exports:assume_roleathenacreate_work_groupdbClearResultdbColumnInfodbConnectdbConvertTabledbDataTypedbDisconnectdbExecutedbExistsTabledbFetchdbGetInfodbGetPartitiondbGetQuerydbGetStatementdbGetTablesdbHasCompleteddbIsValiddbListFieldsdbListTablesdbplyr_edition.AthenaConnectiondbQuoteIdentifierdbQuoteStringdbRemoveTabledbSendQuerydbSendStatementdbShowdbStatisticsdbWriteTabledelete_work_groupget_session_tokenget_work_groupinstall_botolist_work_groupsRAthena_optionsshowsql_escape_date.AthenaConnectionsql_escape_datetime.AthenaConnectionsql_escape_string.AthenaConnectionsql_translate_env.AthenaConnectionsql_translation.AthenaConnectionsqlCreateTablesqlDatatag_optionsupdate_work_group

Dependencies:data.tableDBIherejsonlitelatticeMatrixpngrappdirsRcppRcppTOMLreticulaterlangrprojrootuuidwithr

AWS Athena Query Caching

Rendered fromaws_athena_query_caching.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2020-04-21
Started: 2020-03-03

AWS Athena Unload

Rendered fromaws_athena_unload.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2022-05-19
Started: 2021-10-07

AWS S3 Backend

Rendered fromaws_s3_backend.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2020-04-16
Started: 2020-03-08

Changing Backend File Parser

Rendered fromchanging_backend_file_parser.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2022-05-18
Started: 2020-03-04

Convert and Save Cost

Rendered fromconvert_and_save_cost.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2020-04-21
Started: 2020-04-21

Getting Started

Rendered fromgetting_started.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2022-05-18
Started: 2020-03-08

How to Retry?

Rendered fromhow_to_retry.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2022-05-19
Started: 2020-04-16

Readme and manuals

Help Manual

Help pageTopics
RAthena: a DBI interface into Athena using Boto3 SDKRAthena-package RAthena
Assume AWS ARN Roleassume_role
Athena Driverathena
Convenience functions for reading/writing DBMS tablesAthenaWriteTables dbWriteTable,AthenaConnection,character,data.frame-method dbWriteTable,AthenaConnection,Id,data.frame-method dbWriteTable,AthenaConnection,SQL,data.frame-method
Athena S3 implementation of dbplyr backend functions (api version 1).backend_dbplyr_v1 db_explain.AthenaConnection db_query_fields.AthenaConnection
Athena S3 implementation of dbplyr backend functions (api version 2).backend_dbplyr_v2 sql_escape_date.AthenaConnection sql_escape_datetime.AthenaConnection sql_query_explain.AthenaConnection sql_query_fields.AthenaConnection
S3 implementation of 'db_compute' for Athenadb_compute db_compute.AthenaConnection
S3 implementation of 'db_connection_describe' for Athena (api version 2).db_connection_describe db_connection_describe.AthenaConnection
S3 implementation of 'db_copy_to' for Athenadb_copy_to db_copy_to.AthenaConnection
S3 implementation of 'db_desc' for Athena (api version 1).db_desc db_desc.AthenaConnection
Clear ResultsdbClearResult dbClearResult,AthenaResult-method
Information about result typesdbColumnInfo dbColumnInfo,AthenaResult-method
Connect to Athena using python's sdk boto3dbConnect dbConnect,AthenaDriver-method
Simple wrapper to convert Athena backend file typesdbConvertTable dbConvertTable,AthenaConnection-method
Determine SQL data type of objectdbDataType dbDataType,AthenaConnection,ANY-method dbDataType,AthenaConnection,data.frame-method dbDataType,AthenaDriver,ANY-method dbDataType,AthenaDriver,list-method
Disconnect (close) an Athena connectiondbDisconnect dbDisconnect,AthenaConnection-method
Does Athena table exist?dbExistsTable dbExistsTable,AthenaConnection,character-method
Fetch records from previously executed querydbFetch dbFetch,AthenaResult-method
Get DBMS metadatadbGetInfo dbGetInfo,AthenaConnection-method dbGetInfo,AthenaResult-method
Athena table partitionsdbGetPartition dbGetPartition,AthenaConnection-method
Send query, retrieve results and then clear result setdbGetQuery dbGetQuery,AthenaConnection,character-method
Get the statement associated with a result setdbGetStatement dbGetStatement,AthenaResult-method
List Athena Schema, Tables and Table TypesdbGetTables dbGetTables,AthenaConnection-method
Completion statusdbHasCompleted dbHasCompleted,AthenaResult-method
Is this DBMS object still valid?dbIsValid dbIsValid,AthenaConnection-method dbIsValid,AthenaResult-method
List Field names of Athena tabledbListFields dbListFields,AthenaConnection,character-method
List Athena TablesdbListTables dbListTables,AthenaConnection-method
Declare which version of dbplyr API is being called.dbplyr_edition dbplyr_edition.AthenaConnection
Quote IdentifiersdbQuote dbQuoteIdentifier,AthenaConnection,SQL-method dbQuoteString,AthenaConnection,character-method dbQuoteString,AthenaConnection,Date-method dbQuoteString,AthenaConnection,POSIXct-method
Remove table from AthenadbRemoveTable dbRemoveTable,AthenaConnection,character-method
Show Athena table's DDLdbShow dbShow,AthenaConnection-method
Show AWS Athena StatisticsdbStatistics dbStatistics,AthenaResult-method
Install Amazon SDK boto3 for Athena connectioninstall_boto
Execute a query on AthenadbExecute,AthenaConnection,character-method dbSendQuery,AthenaConnection,character-method dbSendStatement,AthenaConnection,character-method Query
A method to configure RAthena backend options.RAthena_options
Get Session Tokens for Boto3 Connectionget_session_token session_token
AWS Athena backend dbplyr version 1 and 2sql_escape_string.AthenaConnection sql_translate_env sql_translate_env.AthenaConnection sql_translation.AthenaConnection
Creates query to create a simple Athena tablesqlCreateTable sqlCreateTable,AthenaConnection-method
Converts data frame into suitable format to be uploaded to AthenasqlData sqlData,AthenaConnection-method
Athena Work Groupscreate_work_group delete_work_group get_work_group list_work_groups tag_options update_work_group work_group