Skip to contents

Import point layer as a sf object.

Usage

ha_point_layer(point_layer_uuid)

Arguments

point_layer_uuid

Unique ID for a point layer.

Value

sf point layer.

Examples

# \donttest{
ha_set("chicagohealthatlas.org")

ha_point_layer("67f58fa0-0dfa-4ee9-8600-c1ab4a093dc6")
#> Simple feature collection with 33 features and 1 field
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: -87.81431 ymin: 41.69231 xmax: -87.56723 ymax: 41.99368
#> Geodetic CRS:  WGS 84
#> # A tibble: 33 × 2
#>    name                                                            geometry
#>  * <chr>                                                        <POINT [°]>
#>  1 Advocate Aurora Health Illinois Masonic             (-87.65159 41.93722)
#>  2 Holy Cross Hospital (Sinai Health)                  (-87.69072 41.77019)
#>  3 Saints Mary And Elizabeth Medical Center Chicago    (-87.68336 41.90251)
#>  4 Advocate Trinity Hospital                           (-87.56723 41.72669)
#>  5 Ann & Robert H. Lurie Children's Hospital Of Chica… (-87.62178 41.89645)
#>  6 Ascension Resurrection Medical Center                (-87.81431 41.9871)
#>  7 Ascension Saint Joseph                              (-87.63745 41.93467)
#>  8 Community First Medical Center                      (-87.76777 41.94523)
#>  9 Hartgrove Hospital                                   (-87.76745 41.8657)
#> 10 Humboldt Park Hospital                              (-87.69944 41.90052)
#> # ℹ 23 more rows
# }