Skip to content

Contains a proof-of-concept for wrapping R scripts with Python.

Notifications You must be signed in to change notification settings

healthmap/gh-r-wrapper-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-r-wrapper-poc

Contains a proof-of-concepts for wrapping R scripts with Python.

Running

Install R packages

Rscript -e 'install.packages("jsonlite", repos="https://cloud.r-project.org")'
Rscript -e 'install.packages("arrow", repos="https://cloud.r-project.org")'

Run python script

python <SCRIPT>

Scripts

  • log.py - structured logging
  • error.py - error handling and exiting
  • data.py - loading data into memory and using it between processes
  • epiline.py - wrapping a script

EpiLine

The team selected the EpiLine package for testing an integration beyond spikes. Installation using the included install_epiline.sh script currently fails at the last step, due to an outstanding issue with three files. See this issue for a description and workaround.

About

Contains a proof-of-concept for wrapping R scripts with Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published