Open MattiasSealander opened 7 months ago
sample_group_description_id 62
Ask Anton if they could normalize the list of terms. And then we will do an update.
Based on what Anton has described the description values that have a "/" sign indicate a building where use changed over time. There is no meaningful structure in how it is written, e.g. a "domstolsbyggnad" turning into a basic home. So we can standardize these for now.
In the appended document are two update SQL. The first targets all instances of sample group descriptions that are written as "Domstolsbyggnad/Bostadshus" and standardizes them to "Bostadshus/Domstolsbyggnad". The second one changes those descriptions that are written "Ekonomibyggnad/Bostadshus" to "Bostadshus/Ekonomibyggnad", so that we follow alphabetical order for all multipurpose building. Since the order does not matter.
As only dendro data has these types of descriptions we should not need to limit it to the dendro master dataset before updating.
Currently there is data in sample group descriptions that needs to be standardized.
Bostadshus/domstolsbyggnad
Domstolsbyggnad/bostadshus
Need to ask Anton at Lund whether the order of types for individual entries is meaningful, or whether we can standardise them.