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

Expand Information Model coverage #85

Open
khaeru opened this issue Jul 11, 2021 · 0 comments
Open

Expand Information Model coverage #85

khaeru opened this issue Jul 11, 2021 · 0 comments
Labels
enh Enhancements & new features wishlist No current plan or schedule to implement

Comments

@khaeru
Copy link
Owner

khaeru commented Jul 11, 2021

sdmx1 currently covers all widely-used features from the SDMX 2.1 IM §§1–6 and §10 (with some exceptions; see below). Other parts of the IM are uncommon or not visible anywhere in “the wild,” but could still be implemented if there is desire/resources.

This is a master issue for discussing these and tracking other issues and PRs.

  • As of v2.6.0, bold and “some examples exist” refer to cases where one or more sources currently return actual messages that cannot be parsed by code (as of version 2.6.0). These are excluded from tests here:
    #: Failures affecting **all** data sources, internal to :mod:`sdmx`.
    xfail_common = {
    "contentconstraint": XMLParseError, # KeyError
    # <str:StructureSet> <str:HierarchicalCodelists> not implemented
    "structure": XMLParseError,
    "structureset": XMLParseError, # <str:StructureSet> not implemented
    }
  • As of v2.13.0, all of these exclusions have been removed.

§7 Metadata structure definition and metadata structure set.

§8 Hierarchical code list. The base Codelist is already hierarchical; the chief difference is this one seems to support multiple hierarchy.

§9 Structure set and mappings.

  • Some examples exist.
  • Base classes: StructureSet, StructureMap, ComponentMap.
  • Individual classes: ConceptSchemeMap, CategorySchemeMap, CodelistMap, OrganisationSchemeMap, ReportingTaxonomyMap, ConceptMap, CategoryMap, CodeMap, OrganisationMap, ReportingCategoryMap.
  • Add metadata structures and sets to IM and SDMX-ML reader #152 (partial)

§10 Constraints. All visible usage is covered, but some imaginable applications are not.

§11 Data provisioning. Partly covered. Some of these classes map very neatly to existing functionality in SDMX, e.g. RESTDataSource could be very similar to Source. However, they are somewhat underdefined; e.g. the IM does not specify property names for all the information that has—in practice, in this package—proven necessary to track actual behaviour of sources, etc.

§12 Process and §13 Transformation and expressions. These sections appear useful, but there are no (?) real-world examples and specimens to check behaviour against, so implementation is probably premature.

@khaeru khaeru added enh Enhancements & new features wishlist No current plan or schedule to implement labels Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh Enhancements & new features wishlist No current plan or schedule to implement
Projects
None yet
Development

No branches or pull requests

1 participant