RADS, APDE's R Automated Data System, is a suite of tools written in R and designed to make standard public health analyses faster, more standardized, and less prone to error. While some tools may be applicable for different settings, the toolset has been customized to the needs of PHSKC's APDE. While these tools have only been tested in Windows, they should work identically on a Linux or Mac OS X machine.
If you haven't yet installed rads
, follow these steps:
Make sure remotes
is installed:
install.packages("remotes")
RADS depends on version 17 of Microsoft ODBC Driver for SQL Server. You can download it here.
Install keyring
for accessing HHSAW:
install.packages("keyring")
keyring::key_set(service = 'hhsaw', username = 'Your.KCUsername@kingcounty.gov')
In the pop-up window, type in your standard King County password (the one you use to log into your laptop) and click OK
.
Install rads
:
remotes::install_github("PHSKC-APDE/rads", auth_token = NULL)
To install GitHub from a particular branch, specify it with the ref
argument, e.g.,
remotes::install_github("PHSKC-APDE/rads", ref = "dev", auth_token = NULL)
Load rads
:
library(rads)
While you do not need SQL Server or file server access for basic rads
functionality, you will need the following permissions to utilize all functions:
On kcitazrhpasqlprp16.azds.kingcounty.gov
, rads
needs access to the following schema in hhs_analytic_workspace
:
[birth]: for get_data_birth()
[chars]: for get_data_chars()
[death]: for get_data_death()
[ref]: for get_population()
[YourPersonalSchema]: only needed by developers for unit testing
On our file server, you will need access to:
//dphcifs/APDE-CDIP/HYS/releases/
: for get_data_hys()
All other reference data are either built into rads
or are available via rads.data
, which is automatically installed when you install rads
.
Please refer to the releases page for details on the package history and particular releases.
After installation, we highly recommend that you start by walking through a vignette on the wiki.
If you come across a bug or have specific suggestions for improvement, please click on Issues at the top of this page and then click New Issue and provide the necessary details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.