Learn R Programming

spocc (version 0.2.0)

print.occdat: Print brief summary of occ function output

Description

Print brief summary of occ function output

Usage

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

Arguments

x
Input...
...
Ignored.

Examples

Run this code
spnames <- c('Accipiter striatus', 'Setophaga caerulescens', 'Spinus tristis')
out <- occ(query = spnames, from = 'gbif', gbifopts = list(hasCoordinate=TRUE))
print(out)
out # gives the same thing

# you can still drill down into the data easily
out$gbif$meta
out$gbif$data

Run the code above in your browser using DataLab