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

Enforce Existing Code-list Foreign Key Constraints #35

Closed
canwaf opened this issue Jun 25, 2021 · 2 comments
Closed

Enforce Existing Code-list Foreign Key Constraints #35

canwaf opened this issue Jun 25, 2021 · 2 comments

Comments

@canwaf
Copy link
Member

canwaf commented Jun 25, 2021

Warn users if they try to assign a codelist but their dataset contains codes not in that codelist. Might not work for external codelists (or more work needed to get that to work), but if the codelist is held locally might be viable.

Local codelists to form part of MVP.

Could be via RDF representation of codelist, or from the codelist as a CSV.

Requires making request to PMD to check contents of code-list match what's in the local dataset (or alternatively specifying the local location for some ttl describing the existing code-list to allow the checks to be made).

We probably want to do this both in the python app - to provide some more helpful messages to the user, as well as adding the Foreign Key constraints into the CSV-W and letting csv-lint validate that they exist.

@robons robons added the Epic label Aug 18, 2021
@robons robons changed the title Validate dataframe with selected codelist Enforce Existing Code-list Foreign Key Constraints Aug 18, 2021
@robons
Copy link
Contributor

robons commented Nov 9, 2021

todo: @robons to create a presentation for this.

@robons robons added the post-mvp label Nov 9, 2021
@robons
Copy link
Contributor

robons commented Mar 14, 2023

I don't think we're going to get around to doing this.

@robons robons closed this as completed Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants