Skip to content
Snippets Groups Projects
Commit 04f24758 authored by Francesco Sabatini's avatar Francesco Sabatini
Browse files

created 05_ExtractEnv

parent b921e1ba
No related branches found
No related tags found
No related merge requests found
---
title: "sPlot 3.0 - Environmental Data"
author: "Francesco Maria Sabatini"
date: "2/14/2020"
output: html_document
---
<center>
![](/data/sPlot/users/Francesco/_sPlot_Management/splot-long-rgb.png "sPlot Logo")
</center>
**Timestamp:** `r date()`
**Drafted:** Francesco Maria Sabatini
**Revised:**
**version:** 1.0
This report documents the construction of the header file for sPlot 3.0. It is based on dataset sPlot_3.0.2, received on 24/07/2019 from Stephan Hennekens.
```{r results="hide", message=F, warning=F}
knitr::opts_chunk$set(echo = TRUE)
library(tidyverse)
library(viridis)
library(readr)
library(xlsx)
library(knitr)
library(kableExtra)
## Spatial packages
library(rgdal)
library(sp)
library(sf)
library(rgeos)
library(raster)
library(rworldmap)
#library(elevatr)
#library(rnaturalearth)
#library(dggridR)
#save temporary files
write("TMPDIR = /data/sPlot/users/Francesco/_tmp", file=file.path(Sys.getenv('TMPDIR'), '.Renviron'))
write("R_USER = /data/sPlot/users/Francesco/_tmp", file=file.path(Sys.getenv('R_USER'), '.Renviron'))
rasterOptions(tmpdir="/data/sPlot/users/Francesco/_tmp")
```
## Import header data
```{r}
load("../_output/header_splot3.0.RData")
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment