sqlData | R Documentation |
This method converts data.frame columns into the correct format so that it can be uploaded Athena.
## S4 method for signature 'AthenaConnection'
sqlData(
con,
value,
row.names = NA,
file.type = c("tsv", "csv", "parquet", "json"),
...
)
con |
A database connection. |
value |
A data frame |
row.names |
Either If A string is equivalent to For backward compatibility, |
file.type |
What file type to store data.frame on s3, noctua currently supports ["csv", "tsv", "parquet", "json"]. Note: This parameter is used for format any special characters that clash with file type separator. |
... |
Other arguments used by individual methods. |
sqlData
returns a dataframe formatted for Athena. Currently converts list
variable types into character
split by '|'
, similar to how data.table
writes out to files.
sqlData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.