get_neuromap_med_list: Retrieve medication list for NeuroMAP

View source: R/get_neuromap_med_list.R

get_neuromap_med_listR Documentation

Retrieve medication list for NeuroMAP

Description

Retrieve medication list for NeuroMAP

Usage

get_neuromap_med_list(
  med_info_path =
    "Studies/NeuroMAP/Data/Clinical/NMAP Clinical Interview Medication List.xlsx",
  survey_name = "NeuroMAP S3 - Pre-Session Survey",
  id_column = "Intro_ID",
  med_question = "Q11",
  common_dose_units = c("mg", "mcg", "pill", "pills", "tablet", "tablets", "ml", "grams",
    "g", "puff", "puffs")
)

Arguments

med_info_path

The local path to the medication list Excel sheet containing a sheet called 'med_info'

survey_name

The name of the survey that contains medication information in the Qualtrics Survey

id_column

The name of the column in the Qualtrics form corresponding to the participant ID number

med_question

A character vector of the name of the medication question in Qualtrics

common_dose_units

A character vector of common dosage units that might appear in the Qualtrics form (keep lower case)

Value

A data.frame with the raw data and additional columns (medication class, dose amount, etc.)

Author(s)

Zach Vig


UNCDEPENdLab/dependlab documentation built on July 16, 2025, 9:21 p.m.