Repository navigation
Expand file tree
/
Copy pathREADME.Rmd
More file actions
51 lines (34 loc) · 2.43 KB
/
Copy pathREADME.Rmd
File metadata and controls
51 lines (34 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
title: "README"
output: md_document
---
```{r setup, include=FALSE}
options(timeout = 180)
knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = FALSE)
```
## Soil Knowledge Base
[](https://github.com/brownag/SoilKnowledgeBase/actions?query=workflow%3Arefresh-extdata)
[](https://github.com/brownag/SoilKnowledgeBase/actions)
[](https://ncss-tech.github.io/SoilKnowledgeBase/)
A soil "knowledge base" centered around the **National Cooperative Soil Survey** (NCSS) standards.
These are standards developed and maintained by the United States Department of Agriculture Natural Resources Conservation Service (**USDA-NRCS**) Soil and Plant Science Division (**SPSD**). They are defined in the **National Soil Survey Handbook** (**NSSH***)
The contents of this repository are completely reproducible. You can build an instance of all of the external data from scratch if you install the package off GitHub and run the `refresh()` command.
This repository is an **R** package that facilitates management of dependencies, continuous integration, version control of and limited programmatic access to products from official data sources.
### Get started
```{r, echo=TRUE, eval=FALSE}
# install.packages("remotes")
remotes::install_github("ncss-tech/SoilKnowledgeBase")
# install all remote data to inst/extdata
SoilKnowledgeBase::refresh()
```
The repository is _regularly updated_ to reflect changes that happen in a variety of official data sources.
Depending on your application you may be better off simply cloning the repository and calling `git pull` on a schedule that is convenient for you.
See the NSSH on [eDirectives](http://directives.sc.egov.usda.gov/) for details on specific data sources.
```{r, results='asis'}
# do a full refresh
library(SoilKnowledgeBase)
# if any of these failed to download
stopifnot(all(unlist(refresh(keep_pdf = TRUE))))
```
### License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details. Works created by U.S. Government employees within the scope of employment reside in the public domain domestically pursuant to 17 U.S.C. § 105. See [INTENT.md](INTENT.md) for full licensing intent and international status.