-
Notifications
You must be signed in to change notification settings - Fork 4
Hcup Amadeus use case Chapter addition #75
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
Conversation
Edit name of chapter to fit with existing nomenclature.
Edits to some word usage in text.
|
@dariusmb85 do you know how to find the error causing lines from the Super Linter check? |
|
Maybe? I explored the issue earlier by clicking on the failing check and scrolling up to all the warnings. Are those warning messages the reason it failed or is it something else I missed? @mitchellmanware |
|
@dariusmb85 yes that is it. the important linting folder is |
|
Looks like everything is now in order @mitchellmanware |
|
|
||
| HCUP provides detailed hospitalization records, including diagnoses, procedures, and patient demographics, making it a valuable resource for studying health effects driven by environmental conditions. By linking these data with exposure metrics—such as air quality indices, satellite-derived pollution estimates, or weather-related hazard data—researchers can identify spatial and temporal trends in health conditions like respiratory diseases, cardiovascular events, and heat-related illnesses. | ||
|
|
||
| This integration also offers an opportunity to assess differences in environmental health risks across various populations. Many environmental hazards disproportionately impact underserved communities, including economically disadvantaged groups and historically underrepresented populations. By combining HCUP data with geographic and socioeconomic indicators, researchers can explore how broader social factors influence vulnerability to environmental stressors. This approach supports targeted policy strategies aimed at improving health outcomes for affected groups. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would delete this paragraph. I think it borders on the sensitive language we discussed in meeting last Friday. Unfortunately better to be extra cautious
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete it outright and decide if we need more information later on? I can shelf this and revise it later on. And I agree, more caution is better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
having it in a previous version like this we can always refer back and copy+paste it in if the group thinks it is fine, but for now i would delete :(
| # install required packages | ||
| install.packages(c("readr", "data.table", "sf", "tidyverse", "tigris", | ||
| "dplyr")) | ||
| pak::pak("NIEHS/amadeus@1.1.4") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install amadeus from CRAN. most recent version is 1.2.3
|
|
||
| We will start with State level data (SID, SEDD, SASD) | ||
|
|
||
| ### Read and format HCUP datafiles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this section I would be very specific about what each line of code does. for example, what does SEDD stand for? What is fwf_positions function? What is the expected output?
When writing demos, it is good practice to use the full package name and :: to make it clear to readers where each function comes from like you did with amadeus::download_hms(... and tigris:zctas(...
Cleaned some descriptions and added an image for clarification on fwf().
Adding chapter to get feedback and suggestions. Still working to add figures and analysis section.