library(tidyverse)
Running this script will import the datasets you need
source(here::here("code", "healthcare.R"))
heart_joined
dataset to look for the variables we'll be searching within"auntie" or "aunt"
in their health history?heart_joined
, create a new column called statin
that detects whether or not a patient is on a statin, "and then" filter the dataset to contain only this subgroup of people. Call this new dataframe statin_subgroup
How many people are in this subgroup?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.