-
Notifications
You must be signed in to change notification settings - Fork 4
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 logic to sort cases and package reference of the order fuction #100
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* dengue-example * adding single color for fill --------- Co-authored-by: zmcucunuba <[email protected]>
* dengue-example * adding single color for fill * modify conditional for var_fill --------- Co-authored-by: zmcucunuba <[email protected]>
* dengue-example * adding single color for fill * modify conditional for var_fill * modify conditional for var_fill * modify conditional for var_fill * modify dengue-example --------- Co-authored-by: zmcucunuba <[email protected]>
* dengue-example * adding single color for fill * modify conditional for var_fill * modify conditional for var_fill * modify conditional for var_fill * modify dengue-example * modify text size and color of plot by variable --------- Co-authored-by: zmcucunuba <[email protected]>
) * dengue-example * adding single color for fill * adecuación de la función plt by variable * modificaciones del ejemplo * últimos cambios a la función plot by variable * Texto del reporte automatizado * automating cases total and modify graphs * commit para hacer pull * Automatización, corrección de gráficas y numeraciónb * automation porcentage age cases and correction graphs * automation porcentage age cases and correction graphs * Automatización del porcentaje * add porcentage symbol --------- Co-authored-by: zmcucunuba <[email protected]> Co-authored-by: megamezl <[email protected]>
* dengue-example * adding single color for fill * adecuación de la función plt by variable * modificaciones del ejemplo * últimos cambios a la función plot by variable * Texto del reporte automatizado * automating cases total and modify graphs * commit para hacer pull * Automatización, corrección de gráficas y numeraciónb * automation porcentage age cases and correction graphs * automation porcentage age cases and correction graphs * Automatización del porcentaje * add porcentage symbol --------- Co-authored-by: zmcucunuba <[email protected]> Co-authored-by: megamezl <[email protected]>
…ion (#32) * modify dengue-example (#22) * adding conditional for single color in plot by variable (#20) * dengue-example * adding single color for fill --------- Co-authored-by: zmcucunuba <[email protected]> * modify conditional of var_fill (#21) * dengue-example * adding single color for fill * modify conditional for var_fill --------- Co-authored-by: zmcucunuba <[email protected]> --------- Co-authored-by: zmcucunuba <[email protected]> * creating the package website * create initial sections of the basic report, cleaning and util functions, updating dengue example * creating function documentation on report_sections, clean_data and utils * fix param functions of get cases distributions by age and gender * adding plot titles and new gender and epiweek section * updatind documentation functions * fix plot function section by gender and epiweek * adding documentation new function of special population * adding new function of special population to basic report * adding spacial distribution section and utils * update documentation functions of spacial distribution section and utils * updating spacial distribution function * updating documentation functions of distribution spatial * updating spatial distribution function * standarization variables and creating clean general function * modify clean sivigila data function and create general functionto clean depto codes * create documentation of new clean functions * refactoring functions of onset and notification date sections * creating documentation function of notification data and onsent symp * modify general clean data function * modify clean sivigila data * creating components of gender and epiweek section * creating components of age and gender, special population section * creating components of age and gender, special population section * creating components of spacial distribution section * fixing variables components of special population and gender * fixing caption text sixe and breaks * removing message plot map * fixing caption text sixe and breaks * fixing caption text size * fixing caption text size and map * fixing title distribution age and week, and percentage cases by age * fixing percentage cases by age * creating skeleton template of basic report * updating template package * adding params to report basic skeleton * updating the documentation functions of the clean data module * fix: documentation of functions * clean: data, functions and files * clean: list disease and ReadMe file * remve: title map * remove day of label * renaming functions and variables * updating documentation functions * renaming function names and refactoring the vignettes content * renaming function names, refactoring the vignettes content and updating documentation * updating documentation and titles plots * updating documentation list_available_diseases_years * fix: documentation functions, vignettes, ReadMe and Dengue Example * fixing general documentation * fix images ReadMe file * fix: ReadMe file and vignettess * remove some dependencies and functions deprecated * Adding tips to ReadMe and Vignettes * updating size images * updating size images ReadMe * adding space ReadMe file * updating align left images * Adding style images ReadMe and Vignettes * Adding style images ReadMe and Vignettes * Adding style images ReadMe and Vignettes * fix: style images ReadMe and Vignettes * fix: style images Vignettes * fix: echo ReadMe * fix: some variables and typo in ReadMe * fixing ReadMe and Vignettes, updating website * adding dependencie map and scale y for plot variable function * fix> scale y for plot variable function * improving group functions * updationg plot map function and dependencies * updationg plot map function and dependencies * updationg examples and documentation * updating examples and documentation * fix: function examples * remove files * fix examples and lintr of modules * fix message plot * divide map plot * adding new functions to municipalities and departments * adding new functions to municipalities and departments * adding new functions to municipalities and departments * adding new functions to municipalities and departments * modify plot and group municipalities and examples * modify plot and group municipalities and examples * modify plot and group municipalities and examples * export functions to departments and municipalities and examples * fix general syntax and rename functions of municipalities * fix called of function geo ocurrence * update template Reporte Basico * preview basic report * add function clean cols by exceptions * adding diseases like input choice on skeleton * modify forma exceptios cols disease in config file * adding analysis of notification department and municipality * update: functions on ReadMe file * update: version and README files --------- Co-authored-by: zmcucunuba <[email protected]>
* creating the package website * create initial sections of the basic report, cleaning and util functions, updating dengue example * creating function documentation on report_sections, clean_data and utils * fix param functions of get cases distributions by age and gender * adding plot titles and new gender and epiweek section * updatind documentation functions * fix plot function section by gender and epiweek * adding documentation new function of special population * adding new function of special population to basic report * adding spacial distribution section and utils * update documentation functions of spacial distribution section and utils * updating spacial distribution function * updating documentation functions of distribution spatial * updating spatial distribution function * standarization variables and creating clean general function * modify clean sivigila data function and create general functionto clean depto codes * create documentation of new clean functions * refactoring functions of onset and notification date sections * creating documentation function of notification data and onsent symp * modify general clean data function * modify clean sivigila data * creating components of gender and epiweek section * creating components of age and gender, special population section * creating components of age and gender, special population section * creating components of spacial distribution section * fixing variables components of special population and gender * fixing caption text sixe and breaks * removing message plot map * fixing caption text sixe and breaks * fixing caption text size * fixing caption text size and map * fixing title distribution age and week, and percentage cases by age * fixing percentage cases by age * creating skeleton template of basic report * updating template package * adding params to report basic skeleton * updating the documentation functions of the clean data module * fix: documentation of functions * clean: data, functions and files * clean: list disease and ReadMe file * remve: title map * remove day of label * renaming functions and variables * updating documentation functions * renaming function names and refactoring the vignettes content * renaming function names, refactoring the vignettes content and updating documentation * updating documentation and titles plots * updating documentation list_available_diseases_years * fix: documentation functions, vignettes, ReadMe and Dengue Example * fixing general documentation * fix images ReadMe file * fix: ReadMe file and vignettess * remove some dependencies and functions deprecated * Adding tips to ReadMe and Vignettes * updating size images * updating size images ReadMe * adding space ReadMe file * updating align left images * Adding style images ReadMe and Vignettes * Adding style images ReadMe and Vignettes * Adding style images ReadMe and Vignettes * fix: style images ReadMe and Vignettes * fix: style images Vignettes * fix: echo ReadMe * fix: some variables and typo in ReadMe * fixing ReadMe and Vignettes, updating website * adding dependencie map and scale y for plot variable function * fix> scale y for plot variable function * improving group functions * updationg plot map function and dependencies * updationg plot map function and dependencies * updationg examples and documentation * updating examples and documentation * fix: function examples * remove files * fix examples and lintr of modules * fix message plot * divide map plot * adding new functions to municipalities and departments * adding new functions to municipalities and departments * adding new functions to municipalities and departments * adding new functions to municipalities and departments * modify plot and group municipalities and examples * modify plot and group municipalities and examples * modify plot and group municipalities and examples * export functions to departments and municipalities and examples * fix general syntax and rename functions of municipalities * fix called of function geo ocurrence * update template Reporte Basico * preview basic report * add function clean cols by exceptions * adding diseases like input choice on skeleton * modify forma exceptios cols disease in config file * adding analysis of notification department and municipality * update: functions on ReadMe file * update: version and README files * fix: typo, identation of code
* creating the package website * create initial sections of the basic report, cleaning and util functions, updating dengue example * creating function documentation on report_sections, clean_data and utils * fix param functions of get cases distributions by age and gender * adding plot titles and new gender and epiweek section * updatind documentation functions * fix plot function section by gender and epiweek * adding documentation new function of special population * adding new function of special population to basic report * adding spacial distribution section and utils * update documentation functions of spacial distribution section and utils * updating spacial distribution function * updating documentation functions of distribution spatial * updating spatial distribution function * standarization variables and creating clean general function * modify clean sivigila data function and create general functionto clean depto codes * create documentation of new clean functions * refactoring functions of onset and notification date sections * creating documentation function of notification data and onsent symp * modify general clean data function * modify clean sivigila data * creating components of gender and epiweek section * creating components of age and gender, special population section * creating components of age and gender, special population section * creating components of spacial distribution section * fixing variables components of special population and gender * fixing caption text sixe and breaks * removing message plot map * fixing caption text sixe and breaks * fixing caption text size * fixing caption text size and map * fixing title distribution age and week, and percentage cases by age * fixing percentage cases by age * creating skeleton template of basic report * updating template package * adding params to report basic skeleton * updating the documentation functions of the clean data module * fix: documentation of functions * clean: data, functions and files * clean: list disease and ReadMe file * remve: title map * remove day of label * renaming functions and variables * updating documentation functions * renaming function names and refactoring the vignettes content * renaming function names, refactoring the vignettes content and updating documentation * updating documentation and titles plots * updating documentation list_available_diseases_years * fix: documentation functions, vignettes, ReadMe and Dengue Example * fixing general documentation * fix images ReadMe file * fix: ReadMe file and vignettess * remove some dependencies and functions deprecated * Adding tips to ReadMe and Vignettes * updating size images * updating size images ReadMe * adding space ReadMe file * updating align left images * Adding style images ReadMe and Vignettes * Adding style images ReadMe and Vignettes * Adding style images ReadMe and Vignettes * fix: style images ReadMe and Vignettes * fix: style images Vignettes * fix: echo ReadMe * fix: some variables and typo in ReadMe * fixing ReadMe and Vignettes, updating website * adding dependencie map and scale y for plot variable function * fix> scale y for plot variable function * improving group functions * updationg plot map function and dependencies * updationg plot map function and dependencies * updationg examples and documentation * updating examples and documentation * fix: function examples * remove files * fix examples and lintr of modules * fix message plot * divide map plot * adding new functions to municipalities and departments * adding new functions to municipalities and departments * adding new functions to municipalities and departments * adding new functions to municipalities and departments * modify plot and group municipalities and examples * modify plot and group municipalities and examples * modify plot and group municipalities and examples * export functions to departments and municipalities and examples * fix general syntax and rename functions of municipalities * fix called of function geo ocurrence * update template Reporte Basico * preview basic report * add function clean cols by exceptions * adding diseases like input choice on skeleton * modify forma exceptios cols disease in config file * adding analysis of notification department and municipality * update: functions on ReadMe file * update: version and README files * fix: typo, identation of code * update: functions and documentation of subnational report
* creating the package website * create initial sections of the basic report, cleaning and util functions, updating dengue example * creating function documentation on report_sections, clean_data and utils * fix param functions of get cases distributions by age and gender * adding plot titles and new gender and epiweek section * updatind documentation functions * fix plot function section by gender and epiweek * adding documentation new function of special population * adding new function of special population to basic report * adding spacial distribution section and utils * update documentation functions of spacial distribution section and utils * updating spacial distribution function * updating documentation functions of distribution spatial * updating spatial distribution function * standarization variables and creating clean general function * modify clean sivigila data function and create general functionto clean depto codes * create documentation of new clean functions * refactoring functions of onset and notification date sections * creating documentation function of notification data and onsent symp * modify general clean data function * modify clean sivigila data * creating components of gender and epiweek section * creating components of age and gender, special population section * creating components of age and gender, special population section * creating components of spacial distribution section * fixing variables components of special population and gender * fixing caption text sixe and breaks * removing message plot map * fixing caption text sixe and breaks * fixing caption text size * fixing caption text size and map * fixing title distribution age and week, and percentage cases by age * fixing percentage cases by age * creating skeleton template of basic report * updating template package * adding params to report basic skeleton * updating the documentation functions of the clean data module * fix: documentation of functions * clean: data, functions and files * clean: list disease and ReadMe file * remve: title map * remove day of label * renaming functions and variables * updating documentation functions * renaming function names and refactoring the vignettes content * renaming function names, refactoring the vignettes content and updating documentation * updating documentation and titles plots * updating documentation list_available_diseases_years * fix: documentation functions, vignettes, ReadMe and Dengue Example * fixing general documentation * fix images ReadMe file * fix: ReadMe file and vignettess * remove some dependencies and functions deprecated * Adding tips to ReadMe and Vignettes * updating size images * updating size images ReadMe * adding space ReadMe file * updating align left images * Adding style images ReadMe and Vignettes * Adding style images ReadMe and Vignettes * Adding style images ReadMe and Vignettes * fix: style images ReadMe and Vignettes * fix: style images Vignettes * fix: echo ReadMe * fix: some variables and typo in ReadMe * fixing ReadMe and Vignettes, updating website * adding dependencie map and scale y for plot variable function * fix> scale y for plot variable function * improving group functions * updationg plot map function and dependencies * updationg plot map function and dependencies * updationg examples and documentation * updating examples and documentation * fix: function examples * remove files * fix examples and lintr of modules * fix message plot * divide map plot * adding new functions to municipalities and departments * adding new functions to municipalities and departments * adding new functions to municipalities and departments * adding new functions to municipalities and departments * modify plot and group municipalities and examples * modify plot and group municipalities and examples * modify plot and group municipalities and examples * export functions to departments and municipalities and examples * fix general syntax and rename functions of municipalities * fix called of function geo ocurrence * update template Reporte Basico * preview basic report * add function clean cols by exceptions * adding diseases like input choice on skeleton * modify forma exceptios cols disease in config file * adding analysis of notification department and municipality * update: functions on ReadMe file * update: version and README files * fix: typo, identation of code * update: functions and documentation of subnational report * generate NAMESPACE * fix: documentation and definition of import functions * fix: documentation and definition of plot functions * update: clean functions and vignette
* Copy pkgdown workflow from pkgtemplate * Remove docs/ folder * Remove Meta/ folder
* translation and updated functions and documentation of import data module * translation and updated functions and documentation of cleaning data module * translation and updated functions and documentation of group data module * translation and updated functions and documentation of filter data module * translation and updated functions and documentation of plotting module * translation and updated functions and documentation of utils module * translation and updating of filtering and parsing functions and their documentation * translation and updating of Reporte Basico template * translation and updating README files * translation and updating sections of Reporte Basico template * updating parameters and exceptions of disease * translation and updating sections of package vignette * updating README file with all sections and translated functions * updating of the import module functions documentation in Spanish * Updating the documentation of the cleaning module functions in Spanish * Updating the documentation of the checking module functions in Spanish * Updating the documentation of the plotting module functions in Spanish * Updating the documentation of the utils module functions in Spanish * Updating the documentation of the general functions in Spanish * Updating get started section and user descriptions of the package in README files and vignette * deleting some extra files of the Reporte Basico template * updating users definition and import package README file * change parameters of skeleton template
…p diseases (#42) * fix: disease o event title on skeleton Reporte Basico * fix: description of temporal distribution, sex and conclusion sections * adding multiple diseases import, plot and group
* fix: disease o event title on skeleton Reporte Basico * fix: description of temporal distribution, sex and conclusion sections * adding multiple diseases import, plot and group * adding nombre_evento to agrupar_cols_casos
* fix: disease o event title on skeleton Reporte Basico * fix: description of temporal distribution, sex and conclusion sections * adding multiple diseases import, plot and group * adding nombre_evento to agrupar_cols_casos * fix: temporal section month with most cases and validation of malaria import * adding validation to mortalidad event
* fix: disease o event title on skeleton Reporte Basico * fix: description of temporal distribution, sex and conclusion sections * adding multiple diseases import, plot and group * adding nombre_evento to agrupar_cols_casos * fix: temporal section month with most cases and validation of malaria import * adding validation to mortalidad event * adding condition of validation mortality
* fix: disease o event title on skeleton Reporte Basico * fix: description of temporal distribution, sex and conclusion sections * adding multiple diseases import, plot and group * adding nombre_evento to agrupar_cols_casos * fix: temporal section month with most cases and validation of malaria import * adding validation to mortalidad event * adding condition of validation mortality * updating plot multiple disease and vignettes
* fix: disease o event title on skeleton Reporte Basico * fix: description of temporal distribution, sex and conclusion sections * adding multiple diseases import, plot and group * adding nombre_evento to agrupar_cols_casos * fix: temporal section month with most cases and validation of malaria import * adding validation to mortalidad event * adding condition of validation mortality * updating plot multiple disease and vignettes * remove whitespace * updating generic plotting function for multiple disease visualisation
* fix: disease o event title on skeleton Reporte Basico * fix: description of temporal distribution, sex and conclusion sections * adding multiple diseases import, plot and group * adding nombre_evento to agrupar_cols_casos * fix: temporal section month with most cases and validation of malaria import * adding validation to mortalidad event * adding condition of validation mortality * updating plot multiple disease and vignettes * remove whitespace * updating generic plotting function for multiple disease visualisation * fixing whitespaces
* fix: disease o event title on skeleton Reporte Basico * fix: description of temporal distribution, sex and conclusion sections * adding multiple diseases import, plot and group * adding nombre_evento to agrupar_cols_casos * fix: temporal section month with most cases and validation of malaria import * adding validation to mortalidad event * adding condition of validation mortality * updating plot multiple disease and vignettes * remove whitespace * updating generic plotting function for multiple disease visualisation * fixing whitespaces * fix conditional of morbility on skeleton * updating conditional of morbility on skeleton
…ons and parameters
…ons and parameters
…ons and parameters
…ed up the code (#72) * fix (skeleton): modified default output and removed lost reference * chore(plot_fecha_notifica): added input validations and updated documentation * fix(plot_map): added input validations, updated documentation and redefined map title * fix(plot_fecha_inisintomas): added input validations, updated documentation and value year to uni_marca * chore(plot_sex): added input validations, updated documentation * chore: create lintr config file from PR 67 * chore(.Rbuildignore): added .lintr config file from PR 67 * chore(DESCRIPTION): updated R depends, RoxygenNote and added Andres Moreno as contributor This changes from PR 66, PR 70 and .lintr check * chore(config): updated key additional_diseases to letter case of SIVIGILA * fix(skeleton): removed if complex from PR 67 and lintr check * fix and feat (cleaning_module): added validationsa and removing code based in lintr check This changes include: Added validations in almost all clean functions Added stringr::fixed where apply it Removed unnecessary TRUEs Removed variable initialization with c() Based PR 67 and lintr check * fix and feat (utils): Added validations, renamed variables, and removed code based on linting checks Changes in this commit: - Added validations to nearly all utility functions. - Applied stringr::fixed where necessary. - Removed unnecessary TRUE values. - Eliminated variable initialization with c(). - Replaced paste function with paste0. This addresses PR 67 and aligns with linting checks. * fix and feat (plotting_module): Added validations, renamed variables, functions and removed code based on linting checks Changes in this commit: - Added validations to all plotting functions. - Updated documentation and examples. - Renamed functions and variables related to municipalities and departments. - Removed unnecessary TRUE values. - Eliminated variable initialization with `c()`. - Replaced `paste` function with `paste0`. This commit addresses some items from PR 67 and aligns with linting checks. * fix and refactoring: validations, renamed variables and removed code based on linting checks Changes in this commit: - Refactoring validations of all functions. - Renamed variables related to municipalities and departments. - Eliminated variable initialization with `c()`. This commit addresses some items from PR 67 and aligns with linting checks. * fix and refactoring: validations and removed code based on linting checks Changes in this commit: - Refactoring validations of all functions. - Eliminated variable initialization with `c()`. - Replaced `paste` function with `paste0`. This commit addresses some items from PR 67 and aligns with linting checks. * fix(scraping): modified code base on linting checks Changes in this commit: - Eliminated variable initialization with `c()`. - Replaced `paste` function with `paste0`. - Applied stringr::fixed where necessary. This commit addresses items from PR 67 and aligns with linting checks. * chore(README): updated with linting changes, validations and functions * chore(vignette): Added 'nolint' comment for pak installation. This commit addresses items from PR 67 and aligns with linting checks. * fix(utils): added character validation and updated documentation * fix(limpiar_fecha_event): added character validation and updated documentation * fix(plot_map): remove repited departments and municipalities * chore(skeleton): include all parameters in function calls * chore(README): update parameters name and library setup * chore(README): update map visualisation
* Delete inst/extdata/depto_adm_shp directory fix: deleted old shapefiles * Create .delete fix: created new DANE shapes directory * fix: added new DANE shape files * fix: Update config.yml * fix: Update plotting.R to include new DANE shapes * fix: delete inst/extdata/depto_adm_shp_simp/.delete * updated plot map function --------- Co-authored-by: Andrés Moreno <[email protected]> Co-authored-by: Andrés Moreno <[email protected]>
* feat (plot_map): added logic when dpto and mpio values are absent * feat(geo_filtro/agrupar_dpto): added logic when dpto and mpio values are ausent * feat(utils): added logic when dpto and mpio values are ausent * fix(config): removed tilde in Cancer de Mama * chore(plotting): completed documentation of examples * feat(plot): added tendency option to plot_fecha_inisintomas and plot_fecha_notifica This commit includes: - Added tendency option to plot_fecha_inisintomas and plot_fecha_notifica - Updated documentation and examples with the new parameter "tipo" * feat(plot_mpios): updated input nomb_col with the return parameters of agrupar_mpio This commit includes: - Updated input nomb_col with the return parameters of agrupar_mpio - Updated function's documentation and examples * chore(plotting_module): updated documentation and examples * fix(plot_mpio): moved parameter nom_col validation * feat(divipola_data): created data set with codes and geo info of DIVIPOLA This commit includes: - Creation of RData files and xlsx - Creation of R file description of dataset * fix(lintr): lenght of example descriptions * feat(import_geo_cods): added option to load DIVOPOLA data directly from a file * fix(plot_mpio): reference correct data frame to define the nomb_col * feat(plot_map): removed message of st_read and fixed name column of polygon * fix(agrupar_mpio): column name reference to geo ocurrence when dpto is empty or not filter * check(geo_filter): validated behavior with mpio * check(modificar_cod_mun): validated composition of code * check(utils): validated modify cod mpio * fix(modficar_cod_mun ): cod_dpto variances * feat(plot_map): added Colombia map option and logic * chore: updated documentation and skeleton * feat(estandarizar_geo_cod): added complete DIVIPOLA standart into mpios * feat(geo_filtro): removed modificar_cod_mun * feat(plot_map): removed function called of modificar_cod_mun * chore(plot_map): passed first dpto validation * feat(plot_map): updating conditional to polygon_seleccionado$MPIO_CCDGO == data_dept$codigo_municipio * feat(estandarizar_texto): creating function and adding in obtener_info_depts * chore(modificar_cod_mun): removed function of documentation * chore(plot_map): added correct parameter in geo_filtro * chore(estandarizar_texto): updated input of example * chore(config): fix feo column names * chore(config): added key related diseases * chore(config): removed accent of departments * chore(skeleton): removed accent of deparments * feat(standardize_geo_cods): added validation when format is complete for dept or mun * lintr(plot_map): fixed items of lintr scanner * chore(README): removed accent of department * chore(README): removed accent of example department * removed estandarizar_texto function * chore(plot_map): defined font family * feat(list_events): added zika disease * fix: removed temp validations * fix: added lenght validation in pos related to dpto and mpio * fix: position title * fix: modify legend position of plots
* feat (plot_map): added logic when dpto and mpio values are absent * feat(geo_filtro/agrupar_dpto): added logic when dpto and mpio values are ausent * feat(utils): added logic when dpto and mpio values are ausent * fix(config): removed tilde in Cancer de Mama * chore(plotting): completed documentation of examples * feat(plot): added tendency option to plot_fecha_inisintomas and plot_fecha_notifica This commit includes: - Added tendency option to plot_fecha_inisintomas and plot_fecha_notifica - Updated documentation and examples with the new parameter "tipo" * feat(plot_mpios): updated input nomb_col with the return parameters of agrupar_mpio This commit includes: - Updated input nomb_col with the return parameters of agrupar_mpio - Updated function's documentation and examples * chore(plotting_module): updated documentation and examples * fix(plot_mpio): moved parameter nom_col validation * feat(divipola_data): created data set with codes and geo info of DIVIPOLA This commit includes: - Creation of RData files and xlsx - Creation of R file description of dataset * fix(lintr): lenght of example descriptions * feat(import_geo_cods): added option to load DIVOPOLA data directly from a file * fix(plot_mpio): reference correct data frame to define the nomb_col * feat(plot_map): removed message of st_read and fixed name column of polygon * fix(agrupar_mpio): column name reference to geo ocurrence when dpto is empty or not filter * check(geo_filter): validated behavior with mpio * check(modificar_cod_mun): validated composition of code * check(utils): validated modify cod mpio * fix(modficar_cod_mun ): cod_dpto variances * feat(plot_map): added Colombia map option and logic * chore: updated documentation and skeleton * feat(estandarizar_geo_cod): added complete DIVIPOLA standart into mpios * feat(geo_filtro): removed modificar_cod_mun * feat(plot_map): removed function called of modificar_cod_mun * chore(plot_map): passed first dpto validation * feat(plot_map): updating conditional to polygon_seleccionado$MPIO_CCDGO == data_dept$codigo_municipio * feat(estandarizar_texto): creating function and adding in obtener_info_depts * chore(modificar_cod_mun): removed function of documentation * chore(plot_map): added correct parameter in geo_filtro * chore(estandarizar_texto): updated input of example * chore(config): fix feo column names * chore(config): added key related diseases * chore(config): removed accent of departments * chore(skeleton): removed accent of deparments * feat(standardize_geo_cods): added validation when format is complete for dept or mun * lintr(plot_map): fixed items of lintr scanner * chore(README): removed accent of department * chore(README): removed accent of example department * removed estandarizar_texto function * chore(plot_map): defined font family * feat(list_events): added zika disease * fix: removed temp validations * fix: added lenght validation in pos related to dpto and mpio * fix: position title * fix: modify legend position of plots * feat: updated validation response from SIVIGILA API
Created suggestion section in the report template: Reporte Basico, as a result of usability testing and learning approach of the package Refs: #82
* feat(skeleton): added toggle for temporal distribution section Created toggle for temporal distribution section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for sex and epiweek distribution section Created toggle for sex and epiweek section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): modified the paragraph text of temporal distribution with paste0 Modified the paragraph text of temporal distribution with paste0 for toggle option and fixed the month with the most cases. Refs: #85 * feat(skeleton): added toggle for age distribution section Created toggle for age section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for age and sex distribution section Created toggle for age and sex section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for municipality distribution section Created toggle for municipality section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for spatial distribution section Created toggle for spatial section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for suggestions section Created toggle for suggestions section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85
* fix(impor_data_event): adding extra validation for dengue 2016 Created extra validation for cod_eve column in the data that provides SIVIGILA source because, it appears duplicated in Dengue 2016 Refs: #90 * fix(impor_data_event): refactoring validation for dengue 2016 Refactoring extra validation for cod_eve column in the data that provides SIVIGILA source. It appears duplicated in Dengue 2016 Refs: #90
* feat(skeleton): added toggle for temporal distribution section Created toggle for temporal distribution section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for sex and epiweek distribution section Created toggle for sex and epiweek section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): modified the paragraph text of temporal distribution with paste0 Modified the paragraph text of temporal distribution with paste0 for toggle option and fixed the month with the most cases. Refs: #85 * feat(skeleton): added toggle for age distribution section Created toggle for age section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for age and sex distribution section Created toggle for age and sex section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for municipality distribution section Created toggle for municipality section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for spatial distribution section Created toggle for spatial section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): added toggle for suggestions section Created toggle for suggestions section in the report template: Reporte Basico. Includes the section title, text, calculations and plots. Refs: #85 * feat(skeleton): removed toggle for suggestion section Removed toggle for suggestions section in the report template: Reporte Basico. Refs: #85
* feat: moved the colors variable before the conditional * feat: added logic to sort ascending data by cases Added logic to sort ascending data by cases for improve and facilitate the visualisation in plot_mpio and plot_dpto functions. Refs: #78
…ction (#99) * feat: moved the colors variable before the conditional * feat: added logic to sort ascending data by cases Added logic to sort ascending data by cases for improve and facilitate the visualisation in plot_mpio and plot_dpto functions. Refs: #78 * chore(skeleton): added package of reorder Added package reference of the reorder function Ref: #78 * feat(plot_dptos): added logic to sort cases Added logic to sort ascending data by cases for improve and facilitate the visualisation in plot_dptos function. Refs: #78
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NEWS.md
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Update and improve the function
plot_dptos
and added package reference oforder
function.What is the current behavior? (You can also link to an open issue here)
The invocation of the order function doesn't have the reference
plot_mpios
and theplot_dptos
function was plotting without arrange the data. Related issue Arrange the municipalities by number of cases #78What is the new behavior (if this is a feature change)?
In the function
plot_dptos,
logic has been added to sort the data in ascending order based on the cases, aiming to enhance and facilitate visualization, also the package reference oforder
function.Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No, it does