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

Dev feat: added risk population to incidence calculation #173

Merged
merged 69 commits into from
May 18, 2024

Conversation

GeraldineGomez
Copy link
Member

@GeraldineGomez GeraldineGomez commented May 16, 2024

Please check if the PR fulfills these requirements

  • I have read the CONTRIBUTING guidelines
  • A new item has been added to NEWS.md
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Checks have been run locally and pass

…tion

A new function has been created to import the risk population from the Health Ministry with its corresponding documentation, examples and validations.

Ref: #172 & #146
… population

A new function has been created to import the population that will be used in the incidence calculation. Depending on the value of the parameter poblacion, it imports either the at-risk population or the DANE population projections. It includes the corresponding documentation, examples and validations.

Ref: #172 & #146
…nce pop and warnings

A new function has been created to obtain the population that will be used in the incidence calculation. Depending on the value of the 'poblacion' parameter, it obtains either the at-risk population or the population projections from DANE. If there isn't any at-risk population available for the selected year, it obtains the population projections and displays different warnings to users based on the type of population obtained. It includes the corresponding documentation, examples, and validations.

Ref: #172 & #146
…ta event

A new function has been created to obtain the year value from the event or disease data with its corresponding documentation, examples, and validations.

Ref: #172 & #146
A new parameter has been included in the function called poblacion to define the distribution of the data depending on the risk population or population projections.

Ref: #172 & #146
Added invocation of the function obtener_year to obtain the event year and removed the validation.

Ref: #172 & #146
…ncia

Added invocation of the function obtener_pob_incidencia to obtain the incidence population and removed the validations related to data_incidencia.

Ref: #172 & #146
Added invocation of the function obtener_year to obtain the event year and removed the corresponding validations.

Ref: #172 & #146
@GeraldineGomez GeraldineGomez linked an issue May 17, 2024 that may be closed by this pull request
@GeraldineGomez GeraldineGomez linked an issue May 17, 2024 that may be closed by this pull request
@GeraldineGomez GeraldineGomez linked an issue May 18, 2024 that may be closed by this pull request
@GeraldineGomez GeraldineGomez merged commit dbc529e into main May 18, 2024
8 checks passed
@GeraldineGomez GeraldineGomez deleted the feat-pop-risk-incidence-172 branch May 18, 2024 20:44
@GeraldineGomez GeraldineGomez restored the feat-pop-risk-incidence-172 branch May 29, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant