mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-30 13:13:59 +00:00
* fix(government_us): read USDA ERS renamed zip members and preliminary years
ERS renamed the CSV members of two machine-readable zips:
Vegetables_Pulses.csv -> vegetables-pulses-data.csv, and in the livestock
and meat zip MeatSD.csv -> Meat-Supply-Disappearance.csv and
MeatStats.csv -> Meat-Statistics.csv. Reading the old names raised KeyError
for every vegetables and pulses table and five livestock tables. The readers
now try the new name, then the old one, case-insensitively; the CSV columns
are unchanged.
The farm household income tables now publish preliminary years such as
2025P. parse_year read only the forecast suffix F, so int("2025P") failed;
it now strips P too and the sort key orders P like F, after the plain year.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(government_us): cover string ZIP members
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
* chore(government_us): update renamed ty rule
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
---------
Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: artcashin <artinnj@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: dlee-bq <dlee@brightquery.com>
Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>