Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 670 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 670 Bytes

rmedpc: Single function R package to import MEDPC data files into an R list

To install, first make sure devtools package in installed. In an R session:

install.packages("devtools")

Next, install this package directly from github:

devtools::install_github("gkane26/rmedpc")

Instructions for use

The function takes one argument - the path to the MedPC data file. It returns a list containing each of the variables from MedPC. Variables can be referenced by name:

filename = file.choose()
med_data = rmedpc::import_medpc(filename)

# example references to variables
print(med_data$Subject)
print(med_data$'Start Date')
print(med_data$A)