Interactive training course
Learn R by asking soil questions.
Begin with one line of R, build a soil-shaped table, and work toward
the same map-unit, component, and horizon results used by
soilDB. Every module includes editable code and a visible
completion check.
Progress is saved in this browser. No account is required.
Eight short modules
Start anywhere. Learn in sequence.
Modules 1–5 use local examples. Modules 6–8 can load current USDA data.
What happens when I run one line?
Meet the R terminal
Read · Learn the idea
What you will learn
Words to know
Walkthrough · Read the code
Follow the example line by line
Practice · Edit and run R
Try the code yourself
Stable example rows are ready. They make the lesson repeatable.
Initialize Browser R, then run the starter code.
Reflect · Explain the result
Turn code into understanding
Further reading · Choose your next step
Go deeper without getting lost
Choose one resource now. Return to the others when a real soil question gives you a reason to use them.
The real soilDB counterpart
See what runs in server R.
The lesson terminal analyzes a fixture or data returned by the curated
web API. This recipe shows the equivalent soilDB request.
It is displayed separately because the complete package does not run
in Browser R today.