Closed AlexDo1 closed 3 years ago
No, there is no real reason. My intention was to keep them short and they are pruned to the word stem. (e.g. depth and depths would result in the same stem). I see two possibilites here:
description
field instead of an alias. This would be my prefered option, but is only possible, if you can make up a good key for everything. Could you check that, please?(3.) sounds like a good idea. Here are some suggestions for possible keys:
LUBW column name | key |
---|---|
STANDORT | site |
GEWAESSER | water_body |
MESSNETZ | measuring_network |
PEGELTYP | gauge_type |
NUTZUNG | usage |
ENTFERNUNG_MUENDUNG | distance_to_mouth |
DATEN_VORH_SEIT | data_before_since |
BETRIEB_VON_DATUM | operation_since |
STATUS | status |
AUFGABE_KLEINE_EZG | |
AUFGABE_KLEINE_EZG | |
AUFGABE_KLIWA | |
BL_DATENAUSTAUSCH | |
AUFGABE_QUELLMESSETZ | |
EINZUGSGEBIET_OBERIRDISCH | catchment_area |
I don´t really have ideas for the missing keys, as these columns are very specific to the dataset.
use: LUBW column name | key |
---|---|
STANDORT | site |
GEWAESSER | waterbody |
MESSNETZ | network |
PEGELTYP | type |
NUTZUNG | usage |
ENTFERNUNG_MUENDUNG | distance |
DATEN_VORH_SEIT | data_since |
BETRIEB_VON_DATUM | since |
STATUS | status |
AUFGABE_KLEINE_EZG | |
AUFGABE_KLEINE_EZG | |
AUFGABE_KLIWA | |
BL_DATENAUSTAUSCH | |
AUFGABE_QUELLMESSETZ | |
EINZUGSGEBIET_OBERIRDISCH | catchment |
and drop everything that does not have a key right now
ah, and when you upload the LUBW column name as descriptions, do use them lowercase and capitalized. We don't need them to be all uppercase
I missed the columns 'PEGELDIAGRAMM_SEIT' and 'AUFGABE_FLIWAS'.
I will drop the column 'AUFGABE_FLIWAS' and use the key 'diagram_since' for the column 'PEGELDIAGRAMM_SEIT' if you don´t have a better idea.
I think you can drop both.
You are right, 'PEGELDIAGRAM_SEIT' doesn´t really contain any useful information.
@AlexDo1, this is finished and can be closed, right?
https://github.com/VForWaTer/metacatalog/blob/ba048b697a0e4e0a5b72bad7f9b31bc5e1116aea/metacatalog/models/details.py#L36-L38
Is there a reason why the maximum number of letters for the key in the details is limited to 20?
I am in the process of uploading the LUBW gauge data and some column names ('AUFGABE_QUELLMESSETZ' and 'EINZUGSGEBIET_OBERIRDISCH') have more letters than the maximum. I could of course think about shorter names, but it might be better to keep the original column names in case someone from LUBW wants to work with the data.