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

CDC #115

Merged
merged 21 commits into from
Oct 21, 2024
Merged

CDC #115

merged 21 commits into from
Oct 21, 2024

Conversation

eatyourpeas
Copy link
Member

Overview

I

Code changes

CDC(US) charts initial implementation
Note does not include Fenton charts though space has been included for them

Documentation changes (done or required as a result of this PR)

  • src/chartdata/cdc_*: adding the data: these files take their data directly from the CDC website, so are not calculated by the API.
  • type and interface files to update the reference type to include cdc and the datasets
  • fixes to the getDomainsAndData and getFilteredMidParentalHeightData functions to include CDC data - these functions filter the centile data to the viewport or filter the midparental height centiles to a narrow strip close to the latest measurement if supplied.
  • referenceText: updates the label to signpost to users which reference is used and where published
  • tooltips.ts: small fix to render chronological_decimal_age_error if present
  • addOrdinalSuffix: fix to add suffixes to numbers with decimal places
  • add data and stories to demonstrate midparental height both for CDC and UKWHO
  • package.json: bump minor version
  • .gitignore: add a fenton folder for future

@eatyourpeas
Copy link
Member Author

as discussed with wider team - merging

@eatyourpeas eatyourpeas merged commit e1e096a into live Oct 21, 2024
1 check passed
@eatyourpeas eatyourpeas deleted the cdc branch October 21, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant