Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAACC data schema change #33

Open
gassc opened this issue Jul 17, 2023 · 1 comment
Open

NAACC data schema change #33

gassc opened this issue Jul 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gassc
Copy link
Member

gassc commented Jul 17, 2023

THe NAACC schema changed, breaking the NAACC data ingest tool. An end user discerned what changed, their summary follows:

I was able to get the ingest tool to work by making some edits to the downloaded detailed data from NAACC. They changed some of the columns and the value fields used (now uses 0/1 instead of TRUE/FALSE) or rather than allow for an empty value, it now inserts NULL.
They have Inlet_Type in twice, to work around you have to add a column to AB, Copy BI and past into column AB (Inlet_Type) then at column BI, Add a 1 to the end of column heading to make it Inlet_Type1…. This matches how the tool was originally created.
The Approved Column (F), Maine_Private(AI), Inlet_Type(AB),No_Crossing (AJ) now utilize 0 or 1 rather than TRUE/FALSE, change to TRUE/FALSE.
Many Columns now include NULL rather than a 0 or empty value such as Inlet-Type(AB), Terrestrial_Passage_Score (AS), Armoring(AW), Barrier_Severity(AY), Dry_Passage(BB), Inlet-Grade(BD), Inlet_Structure_Type(BG), Inlet_type1(BI same as above to add a 1 to end), Outlet_Grade(BR), Slope_Confidence(BZ).
Editing the csv to match columns, replace o or 1 with TRUE/FALSE and remove NULL allowed table to ingest….

@gassc gassc added the bug Something isn't working label Jul 17, 2023
@gassc
Copy link
Member Author

gassc commented Jul 18, 2023

image

Side note: it looks like the change happened in April 2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant