adverse_events: Create a dataframe of adverse events from a tumor registry...

View source: R/adverse_events.R

adverse_eventsR Documentation

Create a dataframe of adverse events from a tumor registry that can be combined into a storyboard

Description

'adverse_events()'wrangles data from the Adverse Events form of tumor registries to produce a dataframe of details about adverse events of systemic therapy, which can then be incorporated into a Patient Storyboard

Usage

adverse_events(data)

Arguments

data

is a data frame which contains the data for which you want to create a storyboard

Value

A data frame with five variables ("record_id", "description", "value", "date", and "hover" that can be combined with others dfs with the same five variables to form a storyboard

Examples

# Test with embedded data set "storyboard_dataset"
storyboard_dataset %>%
  adverse_events()

TheMillerLab/StoryboardR documentation built on Jan. 12, 2023, 11:24 a.m.