noctua_options | R Documentation |
noctua_options()
provides a method to change the backend. This includes changing the file parser,
whether noctua
should cache query ids locally and number of retries on a failed api call.
noctua_options(
file_parser,
bigint,
binary,
json,
cache_size,
clear_cache,
retry,
retry_quiet,
unload,
clear_s3_resource,
verbose
)
file_parser |
Method to read and write tables to Athena, currently default to |
bigint |
The R type that 64-bit integer types should be mapped to (default: |
binary |
The R type that [binary/varbinary] types should be mapped to (default |
json |
Attempt to converts AWS Athena data types [arrays, json] using |
cache_size |
Number of queries to be cached. Currently only support caching up to 100 distinct queries (default: |
clear_cache |
Clears all previous cached query metadata |
retry |
Maximum number of requests to attempt (default: |
retry_quiet |
This method is deprecated please use verbose instead. |
unload |
set AWS Athena unload functionality globally (default: |
clear_s3_resource |
Clear down 'AWS Athena' 'AWS S3' resource ( |
verbose |
print package info messages (default: |
noctua_options()
returns NULL
, invisibly.
library(noctua)
# change file parser from default data.table to vroom
noctua_options("vroom")
# cache queries locally
noctua_options(cache_size = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.