Open smnorris opened 7 months ago
BULK https://github.com/Canadian-Wildlife-Federation/bulkley-wcrp-online/tree/main/content/tracking-tables ELKR https://github.com/Canadian-Wildlife-Federation/elk-wcrp/tree/main/content/tracking-tables HORS https://github.com/Canadian-Wildlife-Federation/horsefly-wcrp/tree/main/content/tracking-tables LNIC https://github.com/Canadian-Wildlife-Federation/lower-nicola-wcrp/tree/main/content/tracking-tables
@nickw-CWF @andrewp-CWF - tracking tables questions/suggestions:
Draft tables here, based on structure posted in Bulkley WCRP repo:
https://github.com/smnorris/bcfishpass/blob/wcrp_tracking/db/bcfishpass/tables/wcrp.sql
This branch has been deleted, I can try and find/restore if required.
aggregated_crossings_id
?easting
/northing
/zone
/barrier_type
could all come from existing values in the database and should not need to be entered in the tracking table - or is a place to store better location information, and if so, should it be used to update the crossings table?barrier_type
is not coming from existing data, what would be valid values?comments
and removed notes
column from confirmed barriers tableassessment_step_completed
, we can extract the latest PSCIS status from the database. Maybe only include non-PSCIS values in user editable the spreadsheets, overriding the PSCIS status if present?reason
in the confirmed barriers table refer to the others involved column?_crossings
/ _sites
/ _locations
or similar rather than _structures
? A structure may not exist at a given site/crossing.I'm open to options but it seems like WCRP specific data might best fit in a CWF code repository rather than in bcfishpass itself.
Add table schemas to db, and include tracking info in the WCRP views. Load will have to be done via a workflow in the CWF jobs repo (in order to access that db)