pop2point: Assign raster cell values to points

Description Usage Arguments Value Examples

Description

Assign raster cell values to points

Usage

1
pop2point(city, contract = TRUE, save_data = TRUE, quiet = FALSE)

Arguments

city

City for which data are to be obtained

contract

If TRUE, street network is contracted to junctions only, and population densities assigned to nearest juction.

save_data

Should data be saved to who-data?

quiet

If FALSE, dump progress information to screen.

Value

An sf data.frame containing OSM nodes, geometries (as point objects), and aggregated population densities projected onto each node.

Examples

1
2
3
4
## Not run: 
nodes <- pop2point (city = "kathmandu")

## End(Not run)

ATFutures/popdens documentation built on July 28, 2019, 6:28 p.m.