spanishoddata
Get Spanish Origin-Destination Data
spanishoddata spent a year finding out its 2020-2021 data was quietly incomplete.
◆Recent moves
- 2mo ago
Redirected district files identified in v1 metadata
A narrow follow-on to the 0.2.5 metadata switch, catching redirected district files and alerting users when a query matches nothing. The alert is the more useful half — silent empty results were part of what made the earlier truncation hard to spot.
View source ↗ - 2mo ago
S3 metadata truncation at March 2021 bypassed via XML feed
The most consequential fix in the window: the Amazon S3 bucket the package read metadata from was artificially cut off at 18 March 2021, so users requesting 2020-2021 data received an incomplete picture without being told. Metadata fetching reverts to the XML feed.
View source ↗ - 4mo ago
Literal NA strings no longer break DuckDB casting
Source CSVs carry literal 'NA' text in columns like renta, distancia, origen and destino, which failed when cast to DuckDB enums and other non-string types. Handled across both data vintages, along with better resilience to network failures.
View source ↗ - 4mo ago
Large urban area zones can be reloaded again
A reload bug affecting gau (large urban area) zones in spod_get_zones. Single-zone-type defect with no wider effect.
View source ↗ - 5mo ago
time_slot column removed; test coverage goes live-weekly
The deprecated time_slot column is finally dropped in favor of hour, completing a rename announced a year earlier. More durable is the testing shift: comprehensive unit coverage plus weekly live-data runs that alert maintainers when upstream changes — infrastructure built in direct response to this window's fidelity failures.
View source ↗ - 1y ago
District-to-municipal reaggregation corrected for 2020-2021
Municipal-level figures derived from district data for the v1 vintage were being aggregated incorrectly — a defect that produced plausible but wrong numbers rather than an error. The first of several discoveries that the 2020-2021 data path needed auditing.
View source ↗