fio 0.1.0
✨ Enhancements
- New
import_element()
to programmatically import data from an Excel file - New data import addin makes easy to import data from clipboard or an Excel file
- New
iom
uses the efficiency of R6 classes - New
add
andremove
methods to add and remove elements from aniom
object - New
br_2020
dataset with a 51 sector Brazilian input-output table for 2020 - New
compute_tech_coeff()
andcompute_leontief_inverse()
methods uses the power of Rust andfaer
crate to substantially increase performance - New
compute_multiplier_*()
methods to compute multipliers from a given input-output table:compute_multiplier_output()
for the output multipliercompute_multiplier_employment()
for the employment multipliercompute_multiplier_wages()
for the wages multipliercompute_multiplier_taxes()
for the taxes multiplier
- New
compute_influence_field()
method to compute the field of influence of each sector - New
compute_key_sectors()
method to compute the key sectors of an input-output table, based on power of dispersion and sensitivity of dispersion, and their coefficients of variations - New
compute_allocation_coeff()
method to compute the allocation coefficients of an input-output table - New
compute_ghosh_inverse()
method to compute the Ghosh inverse of an input-output table - New
compute_hypothetical_extraction()
method to compute impact on demand, supply and both structures after hypothetical extraction of a sector - New
set_max_threads()
method to allow the user to control number of threads used by {fio} (required by CRAN).
🚀 Performance improvements
- Use Rust instead of base R for
compute_*()
functions - Use
faer
crate instead ofnalgebra
for faster linear algebra calculations - Use R6 classes for a clean, object state-changes, memory-efficient object-oriented programming
🛠️ Other improvements
- Added assertions to check if elements imported into slots are matrices at initialization of
iom
object and atadd()
method - Added assertions to check matrices dimensions at initialization of
iom
object and atadd()
method - More informative warnings and errors messages with {cli} package
- Added assertions to check if number format of slots is
double
at initialization ofiom
object and atadd()
method
Full Changelog: https://github.com/albersonmiranda/fio/commits/v0.1.0