Learn R Programming

galah (version 1.5.4)

slice_head.data_request: Slice for object of class data_request

Description

This is a simple function to set the 'limit' argument in atlas_counts() using dplyr syntax.

Usage

# S3 method for data_request
slice_head(.data, ..., n, prop)

Value

An updated object of class data_request, whose limit argument is set with an integer value provided by n.

Arguments

.data

An object of class data_request, created using galah_call()

...

currently ignored

n

The number of rows to be returned. If data are grouped (using group_by), this operation will be performed on each group.

prop

currently ignored