Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle missing units #102

Open
pmayd opened this issue May 13, 2024 · 0 comments
Open

Handle missing units #102

pmayd opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pmayd
Copy link
Collaborator

pmayd commented May 13, 2024

It seems that it can happen that a unit is not known by the API. Normally, the unit for value colums is either returned as part of the label or, in the case of Zensus database, as an additional column value_unit. I found the follow case (52411-02-01-4)

Statistik_Code;Statistik_Label;Zeit_Code;Zeit_Label;Zeit;1_Merkmal_Code;1_Merkmal_Label;1_Auspraegung_Code;1_Auspraegung_Label;ISV006__Insolvenzverfahren_(Unternehmen)__MeasureUnitNotFound!;ISVNW1__Arbeitnehmer__Anzahl;FOR002__voraussichtliche_Forderungen_(Unternehmen)__Tsd._EUR

As you can see, there is one value column with an unknown unit: ISV006__Insolvenzverfahren_(Unternehmen)__MeasureUnitNotFound!. In this case it would be interesting to check the catalogue endpoint to retrieve the metadata for that variable and check the unit there. In any case we have to deal with this kind of missing information and give a warning to the user. One solution could be to replace this text by "Unknown"

@bergnerjonas bergnerjonas added the enhancement New feature or request label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants