50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

spocc (version 0.2.4)

occ2df: Combine results from occ calls to a single data.frame

Description

Combine results from occ calls to a single data.frame

Usage

occ2df(obj, what = "data")

Arguments

obj
Input from occ
what
One of data (default) or all (with metadata)

Examples

Run this code
spnames <- c('Accipiter striatus', 'Setophaga caerulescens', 'Carduelis tristis')
out <- occ(query=spnames, from='gbif', gbifopts=list(hasCoordinate=TRUE), limit=10)
occ2df(out)

Run the code above in your browser using DataLab