Source: https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/population-distribution-demography/geostat More details: https://ec.europa.eu/eurostat/statistics-explained/index.php/Population_grids
ll_get_population_grid( year = 2011, match_sf = NULL, match_name = NULL, match_country = NULL, join = sf::st_intersects, silent = FALSE, population_grid_sf = NULL )
Defaults to 2011. Currently, the EU population grid is available only for the year 2011.
An sf object to me matched with the population grid. If not given, full grid is returned.
A name to be used for local caching. It is the responsibility of the user to keept it consistent. If not given, data are not cached locally.
Defaults to NULL. If given, used to speed up processing.
Defaults to NULL. If given, it uses this one as population grid of reference. Useful to bulk process items, as it removes the need for re-loading the grid from local storage at each iteration.
An sf object with the population grid.