feature_hits: The Number of Rows of the Promised Data

View source: R/utils-metadata.R

feature_hitsR Documentation

The Number of Rows of the Promised Data

Description

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.

Usage

feature_hits(x)

Arguments

x

object of class vicmap_promise

Value

integer

Examples


vicmap_query(layer = "open-data-platform:hy_watercourse") %>%
 feature_hits()
 

VicmapR documentation built on July 9, 2023, 7:34 p.m.