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

Feature/create data dictionary #148

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

rmbielby
Copy link
Contributor

@rmbielby rmbielby commented Feb 20, 2025

Brief overview of changes

This adds a basic data dictionary and two checks to validate files against it:

  • data_dictionary_col_name_check() - validate filter and indicator col_names in the meta data file against col_names available in the data dictionary
  • data_dictionary_filter_item_check() - where filter col_names from the data dictionary are identified, check the categories (filter items) in the data file against the data dictionary definitions.

Why are these changes being made?

We want to build a standardised data dictionary of filters to allow on the API.

Detailed description of changes

Most things are in data-dictionary-checks.R so that it's all self contained ready for translating across to the packge.

Additional information for reviewers

The standard filter_headers() check has overlapping but more focussed functionality, so could probably do with removing either as part of this work or after the data dictionary work is merged in.

Issue ticket number/s and link

@rmbielby rmbielby self-assigned this Feb 21, 2025
@rmbielby rmbielby added data-update Updates to the standardised reference data data-standards labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-standards data-update Updates to the standardised reference data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant