Open mariarrt94 opened 7 months ago
https://github.com/dime-worldbank/big-data-poverty-estimation/blob/5b69a88c6e5bbf8ccdd699d4acd3ffd4623d9f49/_main.R#L412
This is the only part of the code I couldn't ran and solve. This is the error I am getting.
purrr::map()
geom_polygon()
FUN()
@mariarrt94 see answers to other issues -- I think converting world_sp to sp (using %>% as("Spatial") should solve this.
world_sp
sp
%>% as("Spatial")
https://github.com/dime-worldbank/big-data-poverty-estimation/blob/5b69a88c6e5bbf8ccdd699d4acd3ffd4623d9f49/_main.R#L412
This is the only part of the code I couldn't ran and solve. This is the error I am getting.
error
Coordinate system already present. Adding new coordinate system, which will replace the existing one.
Error in
purrr::map()
:ℹ In index: 1.
Caused by error in
geom_polygon()
at 05_figures_tables_global/main/levels_2_global_scatterplot_average_map.R:310:5:! Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error in
FUN()
: