Learn R Programming

VicmapR (version 0.2.3)

feature_hits: 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)

Value

integer

Arguments

x

object of class vicmap_promise

Examples

Run this code
# \donttest{
vicmap_query(layer = "open-data-platform:hy_watercourse") %>%
 feature_hits()
 # }

Run the code above in your browser using DataLab