Skip to content

Update OECD samples to split out MCF#151

Merged
kmoscoe merged 22 commits into
datacommonsorg:mainfrom
kmoscoe:samples
Jul 6, 2026
Merged

Update OECD samples to split out MCF#151
kmoscoe merged 22 commits into
datacommonsorg:mainfrom
kmoscoe:samples

Conversation

@kmoscoe

@kmoscoe kmoscoe commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Per Gabe's recommendation on PR #146, this splits out the MCF so that the statvar definitions are paired with the CSVs and there should be no duplicate edges.

@kmoscoe kmoscoe requested a review from gmechali July 1, 2026 21:40

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the OECD wage data samples by moving the definitions for OECDWages and average_annual_wage from gender_wage_gap.mcf into a new dedicated file average_annual_wage.mcf. It also updates the file patterns in config.json to use wildcards. The reviewer pointed out that using wildcard patterns like .* matches both CSV and MCF files, which can cause the importer to incorrectly attempt to parse MCF files as CSVs. It is recommended to restrict these patterns to target only the .csv files.

Comment thread samples/OECD_wage_data/config.json
Comment thread samples/OECD_wage_data/config.json

@gmechali gmechali left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks Kara!

I think this one, you dont need to wait like for #150 since this change is backwards compatible.

@kmoscoe kmoscoe added this pull request to the merge queue Jul 6, 2026
Merged via the queue into datacommonsorg:main with commit 9603905 Jul 6, 2026
9 checks passed
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