Getting Started with the PicnicHealth R Package
PicnicHealth.Rmd
PicnicHealth Package
This PicnicHealth
package is has a small set of
functions, to help you start looking through the data.
Installation
In order to install the Picnichealth
Package you will
need the latest version of R (v4+)
The PicnicHealth Package is available online through the PicnicHealth RStudio Package Manager. To install this package, you can run the following:
From R
options(repos = c(getOption("repos"),
PicnicRSPM = "https://rspm.picnichealth.com/github/latest"))
install.packages("PicnicHealth")
Using the package
Loading Package
You can load the PicnicHealth
package similarly to other
packages you typically use.
library(PicnicHealth)
Loading the PicnicHealth Dataset
Start off by loading the data set into a single object
data_set = load_data_set('path/to/data')
Once you have the dataset object, you may want to load each data table into your global environment.
list2env(data_set, env = .GlobalEnv)