head.vicmap_promise {VicmapR}R Documentation

Return the first n rows of the data

Description

See utils::head for details.

Usage

## S3 method for class 'vicmap_promise'
head(x, n = 5, ...)

Arguments

x

object of class vicmap_promise (likely passed from vicmap_query())

n

integer; number of rows to return

...

Other parameters possibly used by generic

Value

Object of class vicmap_promise, which is a 'promise' of the data that can be returned if collect() is used

Methods (by class)

Examples


try(
vicmap_query(layer = "open-data-platform:hy_watercourse") %>%
head(50)
)


[Package VicmapR version 0.2.3 Index]