surgery: Create a data frame of surgical data from a tumor registry...

View source: R/surgery.R

surgeryR Documentation

Create a data frame of surgical data from a tumor registry that can be combined into a storyboard

Description

'surgery()'wrangles data from the Surgery form of tumor registries to produce a data frame of details about surgical therapy, which can then be incorporated into a Patient Storyboard

Usage

surgery(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 %>%
  surgery()


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