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

Update join_tracking_table_crossings_vw.sql #599

Merged
merged 10 commits into from
Nov 13, 2024
Merged

Conversation

andrewp-CWF
Copy link
Collaborator

  • Modified join to include crossings in bcfishpass.crossings_wcrp_vw that are not in the tracking table but are in the WCRP and where all_spawningrearing_km > 0.

andrewp-CWF and others added 10 commits October 30, 2024 15:15
Column shows which wcrp the watershed belongs to
db.v0.5.3 includes join_tracking_table_crossings_vw.sql and migrate.sh
Added column in table creation
- Added statement to add the wcrp column to bcfishpass.wcrp_watersheds
- removed the change from db/v0.5.0/sql/tables/wcrp.sql
- Added right join so excluded structures with no feature in crossings_wcrp_vw show up in the joined table.
- Modified join to include crossings in bcfishpass.crossings_wcrp_vw that are not in the tracking table but are in the WCRP and where all_spawningrearing_km > 0.
Altered condition to ensure all features from the tracking table are in the joined output view.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants