markfyoung0711 / buckstop-refinery

0 stars 0 forks source link

override functionality #15

Open markfyoung0711 opened 7 months ago

markfyoung0711 commented 7 months ago

Create a python class that will store

source name (name of source of data) valid from date (start date of the time series) valid to date (end date - not inclusive - of the time series) key field name (field name for the key) key field value (key value) value field name (field name that has a bad value) value field current value (current -- bad -- value) value field new value (new value to substitute for the current value) archival date (a datetime value, if set, archive the entry)

Example: source name: automobile_production valid_from: 2024-01-01 valid_to: 2024-02-01 key_field_name: VIN (vehicle identification number) key_field_value: X506J0912345 value_field_name: color value_field_current_value: red value_field_new_value: black archival_date: null

markfyoung0711 commented 7 months ago

design

create override details in a python class set up django so that we get a user interface for the python class REST API should be able to query the DB for the records of the override objects

markfyoung0711 commented 7 months ago
markfyoung0711 commented 7 months ago