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 = "datavic:VMHYDRO_WATERCOURSE_DRAIN") %>%
 feature_hits()
#> [1] 191506
 # }