This vignette shows how to install and run VEIN for people who do not know R
## Install VEIN
You can install VEIN with
remotes::install_gitlab("ibarraespinosa/vein")
remotes::install_github("atmoschem/vein")
install.packages("vein")
GitHub and GitLab are more updated
Then, use vein
Check the documentation of get_project
?get_project
or here
Choose a name, for instance, “awesome_city”
get_project(directory = "awesome_city")
system("tree awesome_city")
The structure is:
awesome_city
├── config
│ ├── clean.R
│ ├── config.R
│ ├── inventory.xlsx
│ └── packages.R
├── main.R
├── main.Rproj
├── network
│ ├── net.gpkg
│ └── net.rds
├── scripts
│ ├── evaporatives.R
│ ├── exhaust.R
│ ├── fuel_eval.R
│ ├── net.R
│ ├── pavedroads.R
│ ├── plots.R
│ ├── post.R
│ ├── traffic.R
│ └── wrf.R
└── wrf
└── wrfinput_d02
You have to open the file main.Rproj
with Rstudio and
then open and run main.R
To run main.R
you will need these extra packages:
If you do not have them already, you can install:
install.packages(c("ggplot2", "readxl", "eixport"))