Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Improve differentiation between Embedded and NE Codelists #308

Open
10 tasks
hayfield opened this issue Mar 20, 2018 · 0 comments
Open
10 tasks

Improve differentiation between Embedded and NE Codelists #308

hayfield opened this issue Mar 20, 2018 · 0 comments
Labels
api Changes to the pyIATI API. codelists Relating to IATI Codelists. enhancement Some sort of new functionality (rather than fixing or tweaking something that already existed). resources Relating to handling of resource (not code) files. standard-support Relating to how pyIATI supports a major component within the IATI Standard.

Comments

@hayfield
Copy link
Contributor

Codelists are managed in multiple different manners, leading to the categorisations Embedded and Non-Embedded. It is not currently possible to differentiate between Codelists that are manged in different manners in a clear and obvious manner.

It should be possible throughout pyIATI to obtain and differentiate between types of Codelists as appropriate.


  • Add an attribute to the Codelist class to detail the management status (as noted in Implement missing attributes on Codelists #166)
  • Resources
    • Determine whether the codelists_non_embedded/ resource folder should be renamed to version_independent/codelists/ (and if so, change it!)
    • Make iati.resources.get_codelist_paths(iati.version.STANDARD_VERSION_ANY) return a list of Non-Embedded Codelist paths
    • Add way to get just Embedded Codelist paths (either a flag to get_codelist_paths(), or a distinct function)
  • Default
    • Make iati.default.codelists(iati.version.STANDARD_VERSION_ANY) return only Non-Embedded Codelists
    • Add way to get just Embedded Codelists (either a flag to codelists(), or a distinct function)
  • Embedded / Non-Embedded / Replicated
    • Determine whether any changes are required to distinguish between 3 different management strategies (Minor / Major / All)
@hayfield hayfield added enhancement Some sort of new functionality (rather than fixing or tweaking something that already existed). codelists Relating to IATI Codelists. resources Relating to handling of resource (not code) files. api Changes to the pyIATI API. standard-support Relating to how pyIATI supports a major component within the IATI Standard. labels Mar 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api Changes to the pyIATI API. codelists Relating to IATI Codelists. enhancement Some sort of new functionality (rather than fixing or tweaking something that already existed). resources Relating to handling of resource (not code) files. standard-support Relating to how pyIATI supports a major component within the IATI Standard.
Projects
None yet
Development

No branches or pull requests

1 participant