fio
Friendly & Fast Input-Output Matrix Analysis in R, written in Rust.
Science Score: 26.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
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (21.3%) to scientific vocabulary
Keywords
economics
r
r-package
rstats
Keywords from Contributors
cycles
routing
projection
interactive
stack
serializer
packaging
charts
network-simulation
shellcodes
Last synced: 10 months ago
·
JSON representation
Repository
Friendly & Fast Input-Output Matrix Analysis in R, written in Rust.
Basic Info
- Host: GitHub
- Owner: albersonmiranda
- License: other
- Language: R
- Default Branch: main
- Homepage: https://albersonmiranda.github.io/fio/
- Size: 225 MB
Statistics
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 10
- Releases: 5
Topics
economics
r
r-package
rstats
Created about 2 years ago
· Last pushed 11 months ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output:
github_document:
html_preview: false
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```
# {fio}
Friendly & Fast Input-Output Analysis
[](https://CRAN.R-project.org/package=fio)
[](https://albersonmiranda.r-universe.dev/fio)
[](https://github.com/albersonmiranda/fio/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/albersonmiranda/fio?branch=main)
[](https://CRAN.R-project.org/package=fio)
`{fio}` (*Friendly Input-Output*) is a R package designed for input-output analysis, emphasizing usability for Excel users and performance. It includes an [RStudio Addin](https://rstudio.github.io/rstudioaddins/) and a suite of functions for straightforward import of input-output tables from Excel, either programmatically or directly from the clipboard.
The package is optimized for speed and efficiency. It leverages the [R6 class](https://r6.r-lib.org/) for clean, memory-efficient object-oriented programming. Furthermore, all linear algebra computations are implemented in [Rust](https://www.rust-lang.org/) to achieve highly optimized performance.
## Installation
### CRAN Release
You can install the latest stable release of {fio} from CRAN with:
```r
install.packages("fio")
```
### Latest tested version
install the latest tested but unreleased version from the [main branch](https://github.com/albersonmiranda/fio/tree/main), use the precompiled binaries available on [R-universe](https://albersonmiranda.r-universe.dev/fio):
```r
install.packages("fio", repos = c("https://albersonmiranda.r-universe.dev", "https://cloud.r-project.org"))
```
### Development version
For the cutting-edge development branches from Github, you'll need to compile it from source. This requires [Rust](https://www.rust-lang.org/) to be installed on your system. You can install Rust using the following commands:
- Debian/Ubuntu: `sudo apt install cargo`
- Fedora/CentOS: `sudo dnf install cargo`
- macOS: `brew install rust`
- Windows: https://www.rust-lang.org/tools/install
## Getting Started
If you are just getting started with `{fio}`, we recommend you to read the [vignettes](https://albersonmiranda.github.io/fio/articles/index.html) for a comprehensive overview of the package.
## Examples
Calculate Leontief's inverse from brazilian 2020 input-output matrix:
```{r example}
# load included dataset
iom_br <- fio::br_2020
# calculate technical coefficients matrix
iom_br$compute_tech_coeff()
# calculate Leontief's inverse
iom_br$compute_leontief_inverse()
```
And pronto! `r emoji::emoji("tada")`, you're all good to carry on with your analysis. You can evoke the Data Viewer to inspect the results with `iom_br$technical_coefficients_matrix |> View()` and `iom_br$leontief_inverse_matrix |> View()`.

*Leontief's inverse from brazilian 2020 input-output matrix*
## Related tools
Other great tools for input-output analysis in R include:
- [{leontief}](https://pachamaltese.github.io/leontief/)
- [{ioanalysis}](https://cran.r-project.org/package=ioanalysis)
Owner
- Name: Alberson Miranda
- Login: albersonmiranda
- Kind: user
- Location: Vitória, Brazil
- Company: Banestes SA
- Website: https://datamares.netlify.app/
- Twitter: albersonmiranda
- Repositories: 7
- Profile: https://github.com/albersonmiranda
Economist, M.Sc student in Economics (UFES) & math undergrad student (IFES)
GitHub Events
Total
- Create event: 28
- Release event: 3
- Issues event: 20
- Watch event: 3
- Delete event: 25
- Issue comment event: 19
- Push event: 100
- Pull request event: 51
- Fork event: 1
Last Year
- Create event: 28
- Release event: 3
- Issues event: 20
- Watch event: 3
- Delete event: 25
- Issue comment event: 19
- Push event: 100
- Pull request event: 51
- Fork event: 1
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Alberson Miranda | a****a@h****m | 264 |
| Alberson Miranda | 4****a | 14 |
| dependabot[bot] | 4****] | 3 |
| Josiah Parry | j****y@g****m | 2 |
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 55
- Total pull requests: 172
- Average time to close issues: 8 days
- Average time to close pull requests: 1 day
- Total issue authors: 4
- Total pull request authors: 4
- Average comments per issue: 0.33
- Average comments per pull request: 0.17
- Merged pull requests: 131
- Bot issues: 0
- Bot pull requests: 28
Past Year
- Issues: 20
- Pull requests: 68
- Average time to close issues: 10 days
- Average time to close pull requests: 3 days
- Issue authors: 2
- Pull request authors: 3
- Average comments per issue: 0.15
- Average comments per pull request: 0.29
- Merged pull requests: 37
- Bot issues: 0
- Bot pull requests: 28
Top Authors
Issue Authors
- albersonmiranda (52)
- eddelbuettel (1)
- JosiahParry (1)
- christophe-gouel (1)
Pull Request Authors
- albersonmiranda (141)
- dependabot[bot] (28)
- JosiahParry (2)
- Copilot (1)
Top Labels
Issue Labels
enhancement (19)
documentation (11)
bug (4)
Pull Request Labels
dependencies (28)
rust (14)
Packages
- Total packages: 1
-
Total downloads:
- cran 22,064 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 5
- Total maintainers: 1
cran.r-project.org: fio
Friendly Input-Output Analysis
- Homepage: https://albersonmiranda.github.io/fio/
- Documentation: http://cran.r-project.org/web/packages/fio/fio.pdf
- License: MIT + file LICENSE
-
Latest release: 0.1.6
published over 1 year ago
Rankings
Dependent packages count: 28.4%
Dependent repos count: 35.0%
Average: 50.1%
Downloads: 86.7%
Maintainers (1)
Last synced:
11 months ago
Dependencies
src/rust/Cargo.lock
cargo
- approx 0.5.1
- autocfg 1.3.0
- bytemuck 1.16.0
- extendr-api 0.6.0
- extendr-macros 0.6.0
- libR-sys 0.6.0
- matrixmultiply 0.3.8
- nalgebra 0.32.5
- nalgebra-macros 0.2.1
- num-complex 0.4.6
- num-integer 0.1.46
- num-rational 0.4.2
- num-traits 0.2.19
- once_cell 1.19.0
- paste 1.0.15
- proc-macro2 1.0.85
- quote 1.0.36
- rawpointer 0.2.1
- safe_arch 0.7.1
- simba 0.8.1
- syn 1.0.109
- syn 2.0.66
- typenum 1.17.0
- unicode-ident 1.0.12
- wide 0.7.21
src/rust/Cargo.toml
cargo
DESCRIPTION
cran
- R >= 2.10 depends
- clipr * imports
- emoji * imports
- fs * imports
- miniUI * imports
- readxl * imports
- rlang * imports
- shiny * imports
- knitr * suggests
- rmarkdown * suggests
- spelling * suggests