MichaelPascale / redcap-equation-r

R implementation of the REDCap equation and calculated field syntax. WIP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse and Execute REDCap Equations in R

The aim of this repository is to provide an R implementation of the syntax for equations and calculated fields employed by REDCap such that fields can be recalculated and checked against REDCap from a local R pipeline.

Currently, only basic functionality is achieved; a REPL can be run with language.R.

To-do List:

  • implement basic grammar
  • implement REDCap functions
  • implement a standard format for the REDCap dataframe
  • create R package

Copyright (c) 2021, Michael Pascale. MIT licensed.

Created with rly, an R implementation of lex and yacc.

About

R implementation of the REDCap equation and calculated field syntax. WIP.

License:MIT License


Languages

Language:R 100.0%