athena_createDataset: Copies the data frame and makes it available in AWS Glue....

Description Usage Arguments Examples

View source: R/glue_utilities.R

Description

Copies the data frame and makes it available in AWS Glue. Attention: if a table with the same name exists it will be deleted.

Usage

1
2
3
4
5
6
7
8
athena_createDataset(
  df,
  table_name,
  s3_base_location = "s3://rdsupport/R_datasets/",
  sep = "\t",
  start_empty = F,
  is_spatial = F
)

Arguments

df

the data frame

table_name

the resulting table name in aws glue

s3_base_location

the base dataset locations (default s3://rdsupport/R_datasets/)

sep

the delimiter used (default tab)

start_empty

remove the file leaving just the path (default F)

Examples

1
athena_createDataset(df, 'my_athena_db.my_athena_table')

alesaccoia/alexr documentation built on Dec. 19, 2021, 12:26 a.m.