https://github.com/atmoschem/vein
R+Fortran+OpenMP package to estimate Vehicular Emissions INventories VEIN.
Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: scholar.google, zenodo.org -
✓Committers with academic emails
2 of 15 committers (13.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.1%) to scientific vocabulary
Keywords
atmoschem
atmospheric-chemistry
atmospheric-science
atmospheric-sciences
emissions
emissions-model
vehicular-emissions-inventories
vein
Keywords from Contributors
atmospheric-modelling
wrf-chem
wrf
rspatial
air-quality-data
brazil
wrf-domain
atmos
public-transport
Last synced: 6 months ago
·
JSON representation
Repository
R+Fortran+OpenMP package to estimate Vehicular Emissions INventories VEIN.
Basic Info
- Host: GitHub
- Owner: atmoschem
- License: other
- Language: R
- Default Branch: master
- Homepage: https://atmoschem.github.io/vein/
- Size: 1.79 GB
Statistics
- Stars: 48
- Watchers: 3
- Forks: 18
- Open Issues: 12
- Releases: 22
Topics
atmoschem
atmospheric-chemistry
atmospheric-science
atmospheric-sciences
emissions
emissions-model
vehicular-emissions-inventories
vein
Created almost 9 years ago
· Last pushed 11 months ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/"
)
```
# VEIN
* build:
[](https://ci.appveyor.com/project/ibarraespinosa/vein)
[](https://codecov.io/github/atmoschem/vein?branch=master)
* cran:
[](http://cran.rstudio.com/web/packages/vein/index.html)
[](http://cran.r-project.org/web/packages/vein)
[](http://cran.r-project.org/package=vein)
[](https://www.tidyverse.org/lifecycle/#maturing)

* doi:
[](https://zenodo.org/badge/latestdoi/88201850)
* github:
[](https://github.com/atmoschem/vein)



[](https://github.com/atmoschem/vein/actions)
# **V**ehicular **E**missions **IN**ventories (VEIN)

### TODO
- Include speed functions with Fortran
- Include CB6
- Add EF from HBEFA?
- See issues [GitHub](https://github.com/atmoschem/vein/issues)
- Second edition of my book
### System requirements
vein imports functions from spatial packages listed below. In order to
install these packages, firstly the user must install the requirements
mentioned [here](https://www.github.com/r-spatial/sf).
### Installation
#### CRAN
VEIN can be installed via CRAN or github
```r
install.packages("vein")
```
#### GitHub
```r
remotes::install_github("atmoschem/vein")
```
or if you have a **32 bits** machine
```r
install_github("atmoschem/vein",
INSTALL_opts = "--no-multiarch")
```
---
## Run with a project
Use the function [get_project](https://atmoschem.github.io/vein/reference/get_project.html) and read the documentation, there you can see more projects as well.
```r
library(vein)
?get_project
get_project(directory = "awesome_city")
```
The structure of the new directory "awesome_city" is:
```r
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:
- ggplot2
- readxl
- eixport (If you plan to generate WRF Chem emissions file)
If you do not have them already, you can install:
```{r, eval = F}
install.packages(c("ggplot2", "readxl", "eixport"))
```
Check the projects [here](https://atmoschem.github.io/vein/reference/get_project.html)

## Too complicated? Watch a YouTube
[English](https://www.youtube.com/embed/tHSWIjg26vg)
[Portuguese](https://www.youtube.com/watch?v=6-07Y0Eimng)
## Check some of my presentations
[presentation and some papers](https://github.com/topics/ibarraslides)
Thanks and enjoy VEIN!
## Citation
If you use VEIN, please, cite it ([BIBTEX](https://gmd.copernicus.org/articles/11/2209/2018/gmd-11-2209-2018.bib), [ENDNOTE](https://gmd.copernicus.org/articles/11/2209/2018/gmd-11-2209-2018.ris)):
Ibarra-Espinosa, S., Ynoue, R., O'Sullivan, S., Pebesma, E., Andrade, M. D. F., and
Osses, M.: VEIN v0.2.2: an R package for bottom-up vehicular emissions inventories,
Geosci. Model Dev., 11, 2209-2229, https://doi.org/10.5194/gmd-11-2209-2018, 2018.
```
@article{gmd-11-2209-2018,
author = {Ibarra-Espinosa, S. and Ynoue, R. and O'Sullivan, S. and Pebesma, E. and Andrade, M. D. F. and Osses, M.},
title = {VEIN v0.2.2: an R package for bottom--up vehicular emissions inventories},
journal = {Geoscientific Model Development},
volume = {11},
year = {2018},
number = {6},
pages = {2209--2229},
url = {https://gmd.copernicus.org/articles/11/2209/2018/},
doi = {10.5194/gmd-11-2209-2018}
}
```
[Google Scholar](https://scholar.google.com/scholar?q=VEIN+v0.2.2%3A+an+R+package+for+bottom%E2%80%93up+vehicular+emissions+inventories)
## Special thanks to all the contributors
[](https://github.com/atmoschem/vein/graphs/contributors)
## Communications, doubts etc
- Earth-Sciences on Stackoverflow, tag [vein-r-package](https://earthscience.stackexchange.com/questions/tagged/vein-r-package)
- Drop me an email sergio.ibarraespinosa@colorado.edu or zergioibarra@hotmail.com ( - Hello Chinese friends!)
- Check the group on GoogleGroups [Group](https://groups.google.com/d/forum/veinmodel).
## Issues
If you encounter any issues while using VEIN, please submit your issues to: https://github.com/atmoschem/vein/issues/
If you have any suggestions just let me know to sergio.ibarra@usp.br.
### Contributing
Please, read [this](https://github.com/atmoschem/vein/blob/master/CONTRIBUTING.md) guide.
Contributions of all sorts are welcome, issues and pull requests are the preferred ways of sharing them.
When contributing pull requests, please follow the [Google's R Style Guide](https://google.github.io/styleguide/Rguide.xml).
### Note for non-english and anaconda users
Sometimes you need to install R and all dependencies and a way for doing that is using anaconda. Well, as my system is in portuguese, after installing R using anaconda it changed the decimal character to ','. In order to change it back to english meaning decimal separator as '.', I added this variable into the .bashrc
```
nano ~/.bashrc
export Lang=C
```
More details on [StackOverflow](https://stackoverflow.com/questions/13575180/how-to-change-language-settings-in-r)
Owner
- Name: ATMOSCHEM
- Login: atmoschem
- Kind: organization
- Repositories: 11
- Profile: https://github.com/atmoschem
GitHub Events
Total
- Create event: 2
- Release event: 4
- Issues event: 17
- Watch event: 4
- Issue comment event: 8
- Push event: 20
- Pull request event: 4
- Fork event: 3
Last Year
- Create event: 2
- Release event: 4
- Issues event: 17
- Watch event: 4
- Issue comment event: 8
- Push event: 20
- Pull request event: 4
- Fork event: 3
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| ibarraespinosa | s****a@u****r | 2,058 |
| Sergio | s****o@n****r | 32 |
| Schuch666 | u****h@g****m | 16 |
| sergio | z****a@h****m | 8 |
| Joao Bazzo | j****o@g****m | 8 |
| Mario Gavidia Calderón | m****c@g****m | 8 |
| Amanda Rehbein | s****n@g****m | 4 |
| Avraham Adler | a****r@g****m | 4 |
| Iara da Silva | 1****a | 4 |
| schuch666 | u****h@e****m | 3 |
| raisantana | 7****a | 2 |
| pedro-andrade-inpe | p****e@i****r | 2 |
| YingW1014 | 8****4 | 2 |
| karlropkins | k****s@i****k | 1 |
| Edzer Pebesma | e****a@u****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 97
- Total pull requests: 28
- Average time to close issues: 11 months
- Average time to close pull requests: 6 days
- Total issue authors: 9
- Total pull request authors: 12
- Average comments per issue: 1.15
- Average comments per pull request: 0.32
- Merged pull requests: 24
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 7
- Pull requests: 4
- Average time to close issues: 11 days
- Average time to close pull requests: 5 days
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.43
- Average comments per pull request: 0.5
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ibarraespinosa (80)
- Schuch666 (4)
- Joaobazzo (4)
- raisantana (3)
- Enchufa2 (2)
- vsbrand (1)
- edzer (1)
- airqualityanthony (1)
- YingW1014 (1)
Pull Request Authors
- quishqa (5)
- Joaobazzo (4)
- Schuch666 (3)
- ibarraespinosa (3)
- iaradasilva (3)
- raisantana (2)
- Enchufa2 (2)
- ramespada (2)
- karlropkins (1)
- YingW1014 (1)
- aadler (1)
- salvatirehbein (1)
Top Labels
Issue Labels
inventory (14)
enhancement (9)
Emission Factors (8)
wontfix (4)
quality check (3)
bug (3)
question (2)
speciation (1)
Fortran (1)
traffic (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 484 last-month
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 32
- Total maintainers: 1
cran.r-project.org: vein
Vehicular Emissions Inventories
- Homepage: https://github.com/atmoschem/vein
- Documentation: http://cran.r-project.org/web/packages/vein/vein.pdf
- License: MIT + file LICENSE
-
Latest release: 1.3.0
published 11 months ago
Rankings
Forks count: 4.9%
Stargazers count: 7.8%
Average: 14.9%
Dependent packages count: 17.7%
Downloads: 19.9%
Dependent repos count: 24.4%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.5.0 depends
- cptcity * imports
- data.table * imports
- dotCall64 * imports
- fields * imports
- grDevices * imports
- graphics * imports
- sf >= 1.0.1 imports
- stats * imports
- units * imports
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
.github/workflows/R-CMD-check.yml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/coverage.yaml
actions
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- codecov/codecov-action v4 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite