Homes: Data

Use/get example datasets related to the resident population.

pop_sgp

Population counts within census block polygons in Singapore

landuse_sgp

Land use master plan for the city of Singapore

buildings_pop_sgp

Population count per residential building in Singapore

get_buildings_osm()

Get building polygons from OpenStreetMap

Homes: Process population

Redistribute coarse-scale population data into residential buildings.

rasterise_pop()

Rasterise population counts within census block polygons

rasterise_landuse()

Rasterise residential land use polygons

rasterise_buildings()

Rasterise building polygons

pop_dasymap()

Perform dasymetric mapping of (rasterised) population data

pop_density_polygonise()

Polygonise population density raster to population count per (building) polygon

Parks: Data

Use/get example datasets related to parks and outdoor recreation.

parks_sgp

Public parks in Singapore

get_parks_osm()

Get public parks from OpenStreetMap

get_beaches_osm()

Get public beaches from OpenStreetMap

get_informalnature_osm()

Get informal nature areas from OpenStreetMap

get_playgrounds_osm()

Get public playgrounds from OpenStreetMap

get_sportfitness_osm()

Get public sports/fitness amenities from OpenStreetMap

get_trails_osm()

Get accessible trails from OpenStreetMap

Parks: Process attributes

Calculate park attributes important for recreation/leisure.

parks_calc_attributes()

Calculate attributes per park polygon based on supplied data

Recreation supply

Calculate the provision of park attributes per residential building.

recre_supply()

Calculate cumulative supply of an attribute from all parks to each building

Helper functions

polygons_clean()

Clean up polygons after download

polygons_mutually_exclude()

Make polygon input mutually exclusive (no overlaps) with another

matchyear()

Match the year between the dataset of interest and another data source

raster_edge_length()

Calculate the total edge length of a raster associated with each park polygon

raster_class_area()

Calculate the total class area of a (classified) raster for each park polygon.