Commit 6e4f0aad authored by Batjes, Niels's avatar Batjes, Niels
Browse files

Replace WoSIS_Snapshot_With_R.Rmd

parent c7799519
......@@ -3,10 +3,6 @@ title: "Accessing WoSIS from R -- 'Snapshot' Version"
author: "D G Rossiter"
date: "`r format(Sys.Date(), '%d-%B-%Y')`"
output:
word_document:
toc: yes
pdf_document:
toc: yes
html_document:
fig_height: 4
fig_width: 6
......@@ -14,6 +10,10 @@ output:
theme: spacelab
toc: yes
toc_float: yes
pdf_document:
toc: yes
word_document:
toc: yes
bibliography: wosis.bib
---
......@@ -33,7 +33,7 @@ The reason to have snapshots, as opposed to just the latest information, is to a
For an overview of WoSIS, see https://www.isric.org/explore/wosis. This links to https://www.isric.org/explore/wosis/accessing-wosis-derived-datasets which explains the difference between snapshot and dynamic datasets, and how to access them.
The [Procedures Manual](http://dx.doi.org/10.17027/isric-wdc-2020-01) describes how the database was built.
The [Procedures Manual](https://dx.doi.org/10.17027/isric-wdc-2020-01) describes how the database was built.
# Packages
......@@ -87,7 +87,7 @@ if (!file.exists(paste0(wosis.dir.name, "/wosis_201909.gpkg"))) {
list.files(wosis.dir.name)
```
This results in about *20x more storage, 3.8Gb*. It includes four _tab-delimited_ flat text files with extension `.tsv` (1.8 Gb) and one _Geopackage_^[http://www.geopackage.org] with extension `.gpkg` (2.2 Gb).
This results in about *20x more storage, 3.8Gb*. It includes four _tab-delimited_ flat text files with extension `.tsv` (1.8 Gb) and one _Geopackage_^[https://www.geopackage.org] with extension `.gpkg` (2.2 Gb).
These provide two ways to access the same information.
* `wosis_201909.gpkg`: the Geopackage
......@@ -386,7 +386,7 @@ layers.india <- as.data.frame(layers.india)
# Working with the Geopackage
For an introduction to Geopackage data structures, see ["Getting Started With GeoPackage"](http://www.geopackage.org/guidance/getting-started.html).
For an introduction to Geopackage data structures, see ["Getting Started With GeoPackage"](https://www.geopackage.org/guidance/getting-started.html).
A Geopackage stores data in SQL tables.
To access these, we first establish a connection to the SQL database with the `DBI::dbConnect` function of the `DBI` "data base interface" R package.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment