Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrbrmstr/awsathena
rJava Interface to AWS Athena SDK
https://github.com/hrbrmstr/awsathena
amazon-athena aws-java-sdk aws-sdk r rjava
Last synced: about 1 month ago
JSON representation
rJava Interface to AWS Athena SDK
- Host: GitHub
- URL: https://github.com/hrbrmstr/awsathena
- Owner: hrbrmstr
- License: apache-2.0
- Created: 2019-02-22T20:31:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-04T08:30:16.000Z (over 4 years ago)
- Last Synced: 2024-08-06T03:04:29.890Z (3 months ago)
- Topics: amazon-athena, aws-java-sdk, aws-sdk, r, rjava
- Language: R
- Size: 26.4 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - hrbrmstr/awsathena - rJava Interface to AWS Athena SDK (R)
README
---
output: rmarkdown::github_document
editor_options:
chunk_output_type: console
---# awsathena
rJava Interface to AWS Athena SDK
## Description
Provides R wrapper methods to core 'aws-java-sdk-athena' Java library methods
to interrogate and orchestrate Amazon Athena queries.## What's Inside the Tin?
The following functions are implemented:
- `collect_async`: Collect Amazon Athena 'dplyr' query results asynchronously
- `download_query_execution_results`: Use S3 to download the results of an Athena Query
- `get_query_execution`: Get Query Execution
- `get_query_results_metadata`: Get Query Execution Results Metadata (Schema)
- `list_query_executions`: List Query Executions
- `s3_download_file`: Download a key from a bucket to a local file
- `start_query_execution`: Start Query Execution
- `stop_query_execution`: Stop Query Execution## Installation
```{r eval=FALSE}
devtools::install_git("[email protected]:~hrbrmstr/awsathena")
# OR
devtools::install_gitlab("hrbrmstr/awsathena")
# OR
devtools::install_github("hrbrmstr/awsathena")
```## Usage
```{r}
library(rJava)
library(awsathenajars)
library(awsathena)packageVersion("awsathena")
```### Basics
```{r}
qx <- list_query_executions(profile = "personal")head(qx)
str(get_query_execution(qx[[1]], profile = "personal"), 1)
```## `awsathenajars` Metrics
```{r cloc, echo=FALSE}
cloc::cloc_pkg_md()
```