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

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

Open
3 tasks
djpo312 opened this issue Jun 9, 2024 · 2 comments
Open
3 tasks

Comments

@djpo312
Copy link

djpo312 commented Jun 9, 2024

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

  • I have the most recent version of linelist and R
  • I have found a bug
  • I have a reproducible example
  • [ x] I want to request a new feature

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
Copy link
Member

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
Copy link
Author

djpo312 commented Jun 16, 2024

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

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

No branches or pull requests

2 participants