dime-worldbank/big-data-poverty-estimation

Reproducibility 3

mariarrt94 opened this issue · 1 comments

source(file.path(figures_tables_global_dir, "main", "levels_2_global_scatterplot_average_map.R"))

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():

@mariarrt94 see answers to other issues -- I think converting world_sp to sp (using %>% as("Spatial") should solve this.