Skip to content

Draft Palier Fixe codelist and python script#22

Open
mrgarth wants to merge 1 commit intomainfrom
palier-fixe
Open

Draft Palier Fixe codelist and python script#22
mrgarth wants to merge 1 commit intomainfrom
palier-fixe

Conversation

@mrgarth
Copy link
Copy Markdown
Contributor

@mrgarth mrgarth commented Apr 25, 2026

The palier_fixe_transformer.py script does the following:

  • takes as input the impact data capsule exported from this Palier Fixe base: https://airtable.com/appeFlVHnX5L1XrfD/tblKmtEGKITg37GXZ/viwrhLxLdPwGYNZQN?blocks=bip4oWB81hX4XCwQB
  • removes existing code list items (cids:ac Organization, SDGs, i72: units) from the file, but leaves the references to them
  • corrects sff:Characteristic to cids:Characteristic
  • multi-types all Theme, Outcome, Indicator, and Characteristic nodes as cids:Code, in addition to their existing type
  • adds a "definedBy": cids:ac property to every node, to fulfill the cardinality requirements of the cids:Code class

Still to do:

  • Further edits are still expected to the Airtable base—additional Indicators to be added, some Indicator names to be changed or edited.
  • script does not yet add the other metadata that other code lists have at the head, but this is drafted in the metadata tab of the Palier Fixe google sheet where the work started: https://docs.google.com/spreadsheets/d/1u5GRVAJxKkK3Jh8bJp-pgatU9wc0AoRvTtLjGEpHvb8/edit?gid=641344245#gid=641344245
  • in terms of workflow, this is a departure from our other code lists where the canonical version is TTL, and JSON serialization gets created from it. TBD how best to create the other serializations.

…tes the codelist from the file exported from Airtable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants