-
Notifications
You must be signed in to change notification settings - Fork 15
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
Is it possible to get available dates from a TimeDimension? #173
Comments
Hi there! This is a general SDMX question, and doesn't have much to do with this package. It's also hard to answer because you don't say which particular data provider and structures you are working with. For instance, where do you get In general—again, these are all features of the SDMX standard or ways it is commonly used, nothing about this package:
But again:
|
Hello, many thanks for your detailed answer. Currently I am trying to get As mentioned for
I noticed |
Thanks for the extra information. So indeed this is a typical DSD in which TIME_PERIOD is not enumerated by any code list.
No, that's not correct. FacetValueType is an ordinary Python Enum; you can see this in the documentation where it says "Bases: Enum". For instance: >>> from enum import Enum
>>> Foo = Enum("Foo", "A B C")
>>> Foo.C
<Foo.C: 3> The only thing we can infer from "18" is that "observationalTimePeriod" is the 18th entry in this list: Lines 478 to 496 in 8d5e467
Again, this FacetValueType is directly copied from the SDMX standards. Please, click on "Section 2 — Information Model" and search for "FacetValueType"; you will find it described in Section 3.6 of that file. |
Hello, I am trying to get dimensions explanations with:
cl = structure.dimensions.get(dimension).local_representation.enumerated
sdmx.to_pandas(cl)
Is there any possible approach to get available dates from
TimeDimension
because code above returns empty.Asking because I need to get min max date or available dates list from smdx metadata.
Thanks for your help :)
The text was updated successfully, but these errors were encountered: