feature_hits() returns an integer of the number of rows that match the passed query/promise. This is similar to how nrow() works for a data.frame, however it will evaluate the number of rows to be returned without having to download the data.

feature_hits(x)

Arguments

x

object of class vicmap_promise

Value

integer

Examples

# \donttest{
vicmap_query(layer = "open-data-platform:hy_watercourse") %>%
 feature_hits()
#> [1] 1835052
 # }