Filter Points to a Region
Examples
data(suffolk)
pts <- dots_points(suffolk, pop, divisor = 1000)
filter_pts(pts, suffolk, pop < 1000)
#> Simple feature collection with 4 features and 2 fields
#> Geometry type: POINT
#> Dimension: XY
#> Bounding box: xmin: -7911708 ymin: 5203707 xmax: -7911080 ymax: 5214558
#> Projected CRS: WGS 84 / Pseudo-Mercator
#> pop dots_type geometry
#> 1 1 pop POINT (-7911179 5203707)
#> 2 1 pop POINT (-7911557 5214558)
#> 3 1 pop POINT (-7911080 5210590)
#> 4 1 pop POINT (-7911708 5208786)