README.md

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)


gkane26/rmedpc documentation built on May 6, 2019, 11:17 a.m.