A paper about workflow. An older version was for The Political Methologist. Current version co-authored with Maarten Voors for the Revista de Ciencia Politica.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
abstract.md
american-political-science-review.csl
bowersarticletemplate.latex
references.bib
regsummary.R
responsetoreviewers.md
workflow.Rmd

README.md

This is a paper aiming to cover aspects of social scientific workflow useful for graduate students.

To create a pdf file in RStudio, click on "Knit to PDF" or at the R console type:

library(rmarkdown)
render('workflow.Rmd')

At the command line do (assuming that pandoc and pandoc-citeproc and pandoc-crossref are installed):

Rscript -e "library(knitr); knit('workflow.Rmd')"

/usr/local/bin/pandoc +RTS -K512m -RTS workflow.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output workflow.pdf --template bowersarticletemplate.latex --number-sections --highlight-style tango --latex-engine /Library/TeX/texbin/pdflatex --filter /usr/local/bin/pandoc-crossref --bibliography references.bib --filter /usr/local/bin/pandoc-citeproc

To make a LaTeX file:


/usr/local/bin/pandoc +RTS -K512m -RTS workflow.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output workflow.tex --template bowersarticletemplate.latex --number-sections --highlight-style tango --latex-engine /Library/TeX/texbin/pdflatex --filter /usr/local/bin/pandoc-crossref --bibliography references.bib --filter /usr/local/bin/pandoc-citeproc

To make a Word file:


/usr/local/bin/pandoc +RTS -K512m -RTS workflow.md --to docx --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output workflow.docx --template bowersarticletemplate.latex --number-sections --highlight-style tango --latex-engine /Library/TeX/texbin/pdflatex --filter /usr/local/bin/pandoc-crossref --bibliography references.bib --filter /usr/local/bin/pandoc-citeproc