This repository supports code used to create tables in the GAP_PRODUCTS Oracle schema. These tables include the master production tables, tables shared with AKFIN, and tables publicly shared on FOSS.
Change the TYPE field in GAP_PRODUCTS.AREA table to AREA_TYPE. Reasoning:
TYPE is already defined in the SQL space as a function.
AREA_TYPE will allow us to document area-specific type metadata
### Tasks
- [x] Change `TYPE` --> `AREA_TYPE` in [field metadata google spreadsheet](https://docs.google.com/spreadsheets/d/1wgAJPPWif1CC01iT2S6ZtoYlhOM0RSGFXS9LUggdLLA/edit#gid=1204955465)
- [x] Change `TYPE` --> `AREA_TYPE` field name in the [stratum google spreadsheet data](https://docs.google.com/spreadsheets/d/1v900jEaSPuWjyHzRJhY2RUFzO_c9FqOunow-RM77bHQ/edit#gid=427086090)
- [x] Change needs to be propagated through [`gapindex`](https://github.com/afsc-gap-products/gapindex)
- [x] Change needs to be propogated through [`gapindex`](https://github.com/afsc-gap-products/gapindex) call in [`gap_products`](https://github.com/afsc-gap-products/gap_products/blob/main/code/production.R)
Suggestion
Change the
TYPE
field inGAP_PRODUCTS.AREA
table toAREA_TYPE
. Reasoning:TYPE
is already defined in the SQL space as a function.AREA_TYPE
will allow us to document area-specific type metadata