The data manipulation in the gtfs2gps() is mostly performed in memory using {data.table}. The function could become substantially more efficient (faster and with smaller memory footprint) if we migrated the all (or most) of the code to use {duckdb}.
This would be a really big change refactoring the code of the function. I don't have plans to do this anytime soon, I want to flag this here in case someone would like to pick this up and help co-authoring the package.
The data manipulation in the
gtfs2gps()is mostly performed in memory using{data.table}. The function could become substantially more efficient (faster and with smaller memory footprint) if we migrated the all (or most) of the code to use {duckdb}.This would be a really big change refactoring the code of the function. I don't have plans to do this anytime soon, I want to flag this here in case someone would like to pick this up and help co-authoring the package.