Skip to content

Commit

Permalink
More documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mratford committed Feb 16, 2022
1 parent 2ae0bf5 commit da6a7de
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 1 deletion.
22 changes: 22 additions & 0 deletions R/dbtools.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#' dbtools: A package for accessing AWS Athena from the Analytical Platform.
#'
#' @section About:
#' The dbtools package is used to run SQL queries configured for the
#' Analytical Platform. This package is a reticulated
#' wrapper around the Python library pydbtools
#' which uses AWS Wrangler's Athena module but adds additional functionality
#' (like Jinja templating, creating temporary tables) and alters some configuration
#' to our specification.
#'
#' Alternatively you might want to use
#' Rdbtools, which has the
#' advantages of being R-native, so no messing with `reticulate` and Python, and
#' supporting `dbplyr`. Please note the caveat about support, though.
#'
#' @seealso \url{https://github.com/moj-analytical-services/pydbtools}
#' @seealso \url{https://github.com/moj-analytical-services/Rdbtools}
#'
#' @docType package
#' @name dbtools
NULL
#> NULL
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Platform should refer to the [Legacy](#legacy) section below.
## About

A package that is used to run SQL queries configured for the
Analytical Platform. This packages is a [reticulated](https://rstudio.github.io/reticulate/)
Analytical Platform. This package is a [reticulated](https://rstudio.github.io/reticulate/)
wrapper around [pydbtools](https://github.com/moj-analytical-services/pydbtools)
which uses AWS Wrangler's Athena module but adds additional functionality
(like Jinja templating, creating temporary tables) and alters some configuration
Expand Down
26 changes: 26 additions & 0 deletions man/dbtools.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit da6a7de

Please sign in to comment.