该存储库中的文件将生成2014 全球土壤调查 报告,一个联合项目 PACE草皮, 亚洲草坪草中心以及来自世界各地的草皮管理人员,他们已为该项目提供了样本。
如果您只想要报告的副本
下载 a pdf
copy of the first year report.
如果您想查看,研究或分析GSS数据
The data are in the /data
folder of this repository.
直接链接: GSS调查数据,2013年9月至2014年8月
如果您对我们所做的分析感兴趣
Check out the code chunks in the 2014_gss_report.Rnw
file.
如果您想复制此报告
所需的文件和软件
将这些文件放在目录中。
R
and LaTeX
must be installed on one's machine. The R
packages knitr
, dplyr
, VGAM
, and xtable
must be installed also.
请注意,此报告使用 讲习班. 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.
然后在终端命令行上:
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.
这将产生PDF格式的最终报告。
Alternatively, the Compile PDF
command in RStudio with project options set to typeset LaTeX
into PDF
using pdfLaTeX
will also produce the final report.