epiverse-trace / sivirep

Data Wrangling and Automated Reports from 'SIVIGILA' source
https://epiverse-trace.github.io/sivirep/
Other
28 stars 3 forks source link

Does not generate map with plot_map for the department of Nariño - Colombia #184

Open djpo312 opened 4 weeks ago

djpo312 commented 4 weeks ago

Please place an "x" in all the boxes that apply


Please include a brief description of the problem with a code example:

When trying to generate the map with plot_map, the map does not appear for the department of Nariño, for the other departments of Colombia there is no problem.

data_filtrada_dpto <- geo_filtro(data_event = data_estandar, dpto = "NARIÑO") data_espacial_dpto <- agrupar_mpio(data_event = data_filtrada_dpto) plot_map(data_agrupada = data_espacial_dpto, col_codigos = "cod_mun_o", col_distribucion = "casos")

Error in calc_limits_bbox(): ! Scale limits cannot be mapped onto spatial coordinates in coord_sf(). ℹ Consider setting lims_method = "geometry_bbox" or default_crs = NULL. Run rlang::last_trace() to see where the error occurred.

# insert reprex here

GeraldineGomez commented 3 weeks ago

Hi @djpo312,

Thank you very much for reporting this issue; we really appreciate the feedback. Could you please tell me which disease or event you used to execute the code?

djpo312 commented 3 weeks ago

Thank you very much for the response: the event is dengue