- adds EB02 download option
- Adds SITC rev 3-4 and BEC download option
- Updated COMTRADE links to use the API
- Uses archive (pkg) instead of 7zip (external)
- limits just to COMTRADE data (no gravity, no GDP, no RTAs)
- Allows to skip download and create the database directly.
- Removes Arrow functions
- Uses text and float8 to store UN COMTRADE data
- Add requirements for Red Hat Linux
- Normalizes tables in SQL to save space
- Allows to save raw data in PostgreSQL
- updates default path to gdp tables
- allows to download to sub-directories with the subdir parameter
- uses gravity variables from UTSIC Dynamic Gravity Dataset instead of CEPII
- uses CEPII distances to keep the distances table in the server the same
- removes all modeling functions (no sucess at modeling CIF/FOB ratio with decent R2)
- avoids re-creating parquet files for years without new data
- removes old zip files for years with new data
- allow sequential or parallel downloads on Linux/MacOS
add_gravity_cols()
now uses thecepiigravity
package for the data- because of the previous point
add_rta_cols()
was removed, the RTAs/FTAs data comes incepiigravity
- the previous gravity data came from
cepiigeodist
, that doesn't include GDP or RTA variables - uses duckdb for gravity variables
- Added a
NEWS.md
file to track changes to the package. - I added the option to return units in the tidy output
- As far as I've tested, the changes are compatible with the previous version.\
- Running
tidy_flows()
with default parameters returns the same output as in previous releases.