Learn R Programming

VicmapR (version 0.2.3)

head.vicmap_promise: Return the first n rows of the data

Description

See utils::head for details.

Usage

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

Value

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

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

Methods (by class)

  • vicmap_promise: head.vicmap_promise

Examples

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

Run the code above in your browser using DataLab