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

Clean records on population to remove invalid dates #100

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

RobNicholsGDS
Copy link
Collaborator

@RobNicholsGDS RobNicholsGDS commented Nov 6, 2024

rAPId cannot handle NULLs so if there is no date the string "Not Available" is added to a date field. This causes problems in the application code if we try to cast the date fields to dates so we can process them as such - specifically in sorting where a string sort will result in a different order to a date sort.

This change update the population process so that the erroneous date entries are removed when the data is imported from rAPId.

@RobNicholsGDS RobNicholsGDS merged commit dbfc198 into main Nov 6, 2024
2 checks passed
@RobNicholsGDS RobNicholsGDS deleted the fix-rapid-dates-containing-invalid-strings branch November 6, 2024 12:23
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.

1 participant