Get EU 1km population grid
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 = 2018, match_sf = NULL, match_name = NULL, match_country = NULL, join = sf::st_intersects, silent = FALSE, population_grid_sf = NULL )
Defaults to 2018. Currently, the EU population grid is available only for the year 2006, 2011, and 2018.
An sf object to be 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.
The function to use for filtering. Defaults to sf::st_intersects. Alternative includes the likes of sf::st_within, sf::st_touches, etc.
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.