glimpse.data_request: Get a glimpse of your data

View source: R/dplyr-glimpse.R

glimpse.data_requestR Documentation

Get a glimpse of your data

Description

glimpse() is like a transposed version of print(): columns run down the page, and data runs across. This makes it possible to see every column in a data frame. It's a little like str() applied to a data frame but it tries to show you as much data as possible. This implementation is specific to galah and is evaluated lazily. [Experimental]

Usage

## S3 method for class 'data_request'
glimpse(x, ...)

## S3 method for class 'occurrences_glimpse'
print(x, ...)

Arguments

x

An object of class data_request

...

Other arguments, currently ignored

Details

This implementation of glimpse() actually involves changing the API call sent to the server, then returning a novel object class with it's own print() method.

Examples

## Not run: 
galah_call() |>
  filter(year >= 2019,
         basisOfRecord == "HumanObservation") |>
  select(year, basisOfRecord, species) |>
  glimpse() |>
  collect()

## End(Not run)

galah documentation built on Feb. 11, 2026, 9:11 a.m.