Skip to content

max-mapper/docker-r-transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

docker-r-transform

An example docker container that packages an R script that does streaming newline delimited JSON transformation.

installation

docker pull maxogden/docker-r-transform

usage

transform.r adds "hello_from": "R" to every JSON object that gets piped in.

The Dockerfile handles installing R dependencies, and setting the entrypoint.

You can run this as a unix pipe like this:

$ echo '{"foo": "bar"}' | docker run -i maxogden/docker-r-transform
{ "foo": "bar","hello_from": "R" }

About

example of using docker with dat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published