paleolimbot opened a new pull request, #851:
URL: https://github.com/apache/sedona-db/pull/851
Still in the works, but the idea is to have `sd_xxx()` functions that get
translated to st_xxx function calls, where standard R tools know how to display
the docs or query them.
``` r
library(sedonadb)
library(sedonafns)
sd_read_sf(system.file("shape/nc.shp", package = "sf")) |>
sd_transmute(
NAME,
area = sd_area(wkb_geometry)
)
#> <sedonab_dataframe: NA x 2>
#> ┌─────────────┬─────────────────────┐
#> │ NAME ┆ area │
#> │ utf8 ┆ float64 │
#> ╞═════════════╪═════════════════════╡
#> │ Ashe ┆ 0.11428350451751612 │
#> ├╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
#> │ Alleghany ┆ 0.06139975567930378 │
#> ├╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
#> │ Surry ┆ 0.1430162843025755 │
#> ├╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
#> │ Currituck ┆ 0.06977097556227818 │
#> ├╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
#> │ Northampton ┆ 0.15275930054485798 │
#> ├╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
#> │ Hertford ┆ 0.09715755874640308 │
#> └─────────────┴─────────────────────┘
#> Preview of up to 6 row(s)
```
<sup>Created on 2026-05-16 with [reprex
v2.1.1](https://reprex.tidyverse.org)</sup>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]