This document compiles the ideas and their implementation
discussed around this project. Here we describe the various steps, list
how they are implemented in both the R code/functions as well as in the
Shiny App (aq_app()).
Status and outstanding tasks/questions are listed below each item.
Here is a summary with links to the relevant sections
[Code] Functions check for GWELLS data in cache and download as
needed. User can use data_update() to download/update local
cache. User can load data directly using data_read() (but
not necessary as functions will do this automatically).
[App] First tab offers information on state of data in cache and options to download or clear cache
Status - Complete
lithology_clean)lith_primary, lith_secondary,
lith_tertiarylithology_categorylithology_extra (e.g.,
“wet”)Status - Complete (and forever polishing)
sf package
(sf::st_read())Status - Complete
Sources - Lidar - https://catalogue.data.gov.bc.ca/dataset/lidarbc-open-lidar-data-portal
- TRIM DEM - https://catalogue.data.gov.bc.ca/dataset/1-20-000-georeferenced-topographic-base-maps-by-mapsheet
- https://catalogue.data.gov.bc.ca/dataset/digital-elevation-model-for-british-columbia-cded-1-250-000
- Custom DEM
Steps - Using area of interest, download relevant
DEM data to the cache, load it, and trim it to the area of interest. -
[Code] User passes area of interest to dem_region()
function - [App] Automatically happens once area of interest is
selected
wells_subset(), add elevation with
wells_elev()
dem is the primary source, dem_extra is
the optional secondary sourceStatus - Complete
Spatial data trimmed to match the extent of the area of interest.
Steps
Status - In Progress (on hold)
TODO - Add Freshwater atlas - Potential others
wells_yield() functionStatus - Complete
wells_export()Status - Complete
flag_XXX columns are added to the data outputs.
The flags data set includes a glossary explaining the
flagsflag_XXX columns are added to the data outputs.
There is a dedicated ‘flags’ tab for exploring flags which includes a
copy of the glossary in the flags data set.Status - Complete
Status - In Progress
TODO
- All of the above!