Skip to content

Update examples to correct deaths field name#18

Open
theosanderson wants to merge 1 commit intoUKHSA-Internal:masterfrom
theosanderson:master
Open

Update examples to correct deaths field name#18
theosanderson wants to merge 1 commit intoUKHSA-Internal:masterfrom
theosanderson:master

Conversation

@theosanderson
Copy link

You now have to specify the type of deaths that you want in a query. This causes existing examples to fail with an error which impedes new users a bit. This PR updates all death queries in documentation to the new 28 day version.

These changes were achieved with:

find . -type f -name "*.rst" -print0 | xargs -0 sed -i '' -e 's/DeathsByDeathDate/Deaths28DaysByDeathDate/g'

Feel free to reject if accepting PRs is a hassle. Thanks for the API.

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