head: Return the first n rows of the data

head.vicmap_promiseR 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)

  • vicmap_promise: head.vicmap_promise

Examples


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


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