Read cut-out city rasters from measure_cities and compute distance of each point in raster to the point called city center. City Center is classified by IGN as Chef Lieu of a place.

dist_from_center(overwrite = FALSE, ndists = 51)

Arguments

overwrite

TRUE/FALSE whether to load from disk or recreate

ndists

numeric value indicating how many distance bins

Value

returns a data.table with distance, density by city and year.