The files in this repository will generate the 2014 Global Soil Survey report, a joint project of PACE Turf, the Asian Turfgrass Center, and the turfgrass managers from around the world who have contributed samples to this project.
Download a pdf
copy of the first year report.
The data are in the /data
folder of this repository.
Direct link: GSS survey data, September 2013 to August 2014
Check out the code chunks in the 2014_gss_report.Rnw
file.
Put these files in a directory.
R
and LaTeX
must be installed on one's machine. The R
packages knitr
, dplyr
, VGAM
, and xtable
must be installed also.
Note that this report uses the tufte-handout class. The tufte-common.def
and tufte-handout.cls
files should be in the same directory with the .Rnw
and .tex
files.
In R
:
setwd("directory name")
library(knitr)
knit("2014_gss_report.Rnw")
That will create the 2014_gss_report.tex
file.
Then at the terminal command line:
cd directory name
pdflatex 2014_gss_report.tex
Run pdflatex 2014_gss_report.tex
a second time to get all the cross-references numbered correctly.
That will produce the final report in PDF format.
Alternatively, the Compile PDF
command in RStudio with project options set to typeset LaTeX
into PDF
using pdfLaTeX
will also produce the final report.