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: created feature to import an event by multiple years #113

Merged
merged 25 commits into from
Mar 19, 2024

Conversation

GeraldineGomez
Copy link
Member

  • 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
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Added a new feature: importing data event by multiple years. Group function, plot function and section in report template: Reporte Basico have been created.

  • What is the current behavior? (You can also link to an open issue here)
    The package and template: Reporte Basico didn't have this feature. Issue related Import data event by multiple years #111.

  • What is the new behavior (if this is a feature change)?
    Updated the function import_data_event to allow downloading events for multiple years. Added two new functions: the first one, agrupar_years, groups disease data by multiple years, and the second one, plot_years, plots this distribution. Additionally, a new section has been included in the template: Reporte Basico.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No, it does.

GeraldineGomez and others added 25 commits March 6, 2024 21:13
…s types

A new function called agrupar_casos_eventos has been created. It allows grouping the disease or event data by their types. Includes the corresponding documentation and examples.

Ref: #101
Added a new section and its corresponding toggle option on template: Reporte Basico regarding to cases distribution by event or disease types.

ref: #101
A new function called plot_tabla_tipos_event has been created to plot the type events table and has been included in the template: Reporte Basico.

Ref: #101
…nternal function called obtener_eventos_relacionados

Ref: #111
An internal function called obtener_eventos_relacionados has been created. This function includes validations for related events and years.

Ref: #111
A new function called agrupar_years has been created to group the cases by multiple years with its documentation.

Refs: #111
…le years

A new function called plot_years has been created to plot the distribution of cases by multiple years.

Refs: #111
… availability

A new function called obtener_eventos_relacionados has been created to get the related events and validate with the years their availability for downloading.

Refs: #111
…f cases by multiple years

A new section in the template: Reporte Basico has been created that describes the distribution of cases by multiple years (from year selected to five years before).

Refs: #111
@GeraldineGomez GeraldineGomez merged commit 4fd016d into main Mar 19, 2024
8 checks passed
@GeraldineGomez GeraldineGomez deleted the dev branch March 19, 2024 16:26
@GeraldineGomez GeraldineGomez restored the dev branch March 19, 2024 16:27
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