-
Notifications
You must be signed in to change notification settings - Fork 24
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
Setup MaternalHealthProvider.ts
#3304
Milestone
Comments
JDemlow
added a commit
to JDemlow/health-equity-tracker
that referenced
this issue
May 21, 2024
I am receiving some TypeScript errors but they don't always appear in VSCode. I'm going to push my code and hopefully, the errors won't persist. I may not know enough about TypeScript yet to be able to double-check myself |
Looks like some of the merge tests failed. I'll try to go through the TS errors and learn as I go |
benhammondmusic
added a commit
that referenced
this issue
Jun 5, 2024
# Description and Motivation Closes #3304 Closes #3308 ## Has this been tested? How? Yes. Using the CLI ## Screenshots (if appropriate) <img width="697" alt="Code_6ZpGaEQYkw" src="https://github.com/SatcherInstitute/health-equity-tracker/assets/14945785/fcd2b3b2-52f0-4765-85c2-c97602f2c7bc"> ## Types of changes - Created new file - Added necessary import to other file (leave all that apply) - New content or feature ## New frontend preview link is below in the Netlify comment 😎 --------- Co-authored-by: Ben Hammond <benjamin.hammond@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting Up a New Data Provider
[YourDatasetName]Provider.ts
in thefrontend/data/providers/
directory.{condition}_per_100k
and{condition}_estimated_total
getDataSetId
: Determines the correct dataset ID based on the provided breakdowns. The returnedDatasetId
will be the same as the BigQuerydata_source
+-
+ BigQuerytable_name
: e.g.cdc_hiv_data-sex_state_current
getDataInternal
: Fetches and processes the data according to the metric query, applying filters and returning a MetricQueryResponse.allowsBreakdowns
: Checks if the requested demographic breakdowns are supported by this provider.VariableProviderMap.ts
The text was updated successfully, but these errors were encountered: