Skip to content

Instantly share code, notes, and snippets.

@psychemedia
Created July 15, 2012 21:46
Show Gist options
  • Save psychemedia/3118767 to your computer and use it in GitHub Desktop.
Save psychemedia/3118767 to your computer and use it in GitHub Desktop.
An Rchitecture for Reproducible Data Journalism
digraph G {
subgraph cluster_1 {
Rscript -> localDir;
localDir -> Rscript;
Rscript -> Sweave;
Sweave -> TeX;
TeX -> PDF [ label = "laTeX"]
Rscript -> Rmarkdown;
RCurl -> Rscript;
Rmarkdown -> HTML [ label = "knitr" ];
Rmarkdown -> localDir;
Sweave -> localDir;
label = "Local machine/\nServer";
RJSONIO -> Rscript;
XML -> Rscript;
RSQLite -> Rscript;
SQLite -> RSQLite;
subgraph cluster_2 {
XML;
RJSONIO;
RCurl;
RSQLite;
label = "Data sourcing";
}
}
OnlineCSV -> RCurl;
ThirdPartyAPI -> RJSONIO;
ThirdPartyAPI -> XML;
ThirdPartyAPI -> RCurl;
localDir -> github [ label = "git" ];
github -> localDir;
HTML -> RPubs;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment