The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Basics for running VEIN

This vignette shows how to install and run VEIN for people who do not know R

## Install VEIN

You can install VEIN with

GitHub and GitLab are more updated

Then, use vein

library(vein)

Download a project

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"))

Too complicated? Watch a YouTube video

in English:

in Portuguese:

here

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.