problemas que no surgían antes

68 views
Skip to first unread message

Clarisa Perez-Armendariz

unread,
Jan 13, 2022, 11:33:52 AM1/13/22
to mxmaps
Hola Diego,
Estoy batallando con el update.

Estoy haciendo un mapa de migración de retorno por municipio

df_armedgroups0920$value <- df_armedgroups0920$viv_ret

mxmunicipio_choropleth(df_armedgroups0920,                        

title = "Circular and Return Migration, by Municipality")

 

Recibo este mensaje cuando antes no lo recibía. No se que hacer!

Error in super$initialize(mxmunicipio.map, user.df) : 
  c("region", "value") %in% colnames(user.df) are not all TRUE
In addition: Warning message:
In str_mxmunicipio(df$region) : Invalid codes detected

Clarisa Perez-Armendariz

unread,
Jan 13, 2022, 11:35:17 AM1/13/22
to mxmaps
Para aclarar, hace un año, si salían los mapas con este script y la misma base de datos.

diego...@gmail.com

unread,
Jan 13, 2022, 1:34:36 PM1/13/22
to mxmaps
Hola Clarisa, me puedes decir que es lo que sale si ejecutas

colnames(df_armedgroups0920)
base::setdiff(df_mxmunicipio_2020$region, df_armedgroups0920$region)
Reply all
Reply to author
Forward
0 new messages