Commit 4ff3a0be authored by jml's avatar jml
Browse files

update readme

parent 1427ca8c
......@@ -9,16 +9,38 @@ luftlyr makes luftkvalitet dataset easy to manipulate.
1. libraries to access luftkvalitet
2. get friendly data.frame to work with
## Prerequisite
Install the "remotes" R-package
```R
source("https://raw.githubusercontent.com/r-lib/remotes/master/install-github.R")$value("r-lib/remotes")
```
## Installation
### with R
```R
library("devtools")
devtools::install_git("git@git.nilu.no:rfriendlyr/luftlyr.git")
```
### with git and R
In your [git] terminal write:
```shell
cd ~/
# if windows cd ~/Documents
mkdir tmp_luftlyr
cd tmp_luftlyr
git clone git@git.nilu.no:rspacetimemanip/timemanip.git
git clone git@git.nilu.no:rdbnilu/luftkvalr.git
git clone git@git.nilu.no:rfriendlyts/friendlyts.git
```
In R, write:
```r
install.packages("~/tmp_luftlyr/timemanip",repos=NULL,type="source",dependencies = "Imports")
install.packages("~/tmp_luftlyr/luftkvalr",repos=NULL,type="source",dependencies = "Imports")
install.packages("~/tmp_luftlyr/friendlyts",repos=NULL,type="source",dependencies = "Imports")
```
In a terminal, write:
```shell
cd ..
rm -r tmp_luftlyr
```
Supports Markdown
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