occs_history: Function to visualize GIBIF data using googleVis

View source: R/occs_history.R

occs_historyR Documentation

Function to visualize GIBIF data using googleVis

Description

Visualize a time series of the history of GBIF records.

Usage

occs_history(gbif_data)

Arguments

gbif_data

A data.frame with GBIF data

Details

Creates a motionchart of the time series of the occurrence data. It uses the function gvisMotionChart from googleVis-package.

Value

Returns a list with googleVis motion chart and a data.frame

Examples

## Not run: 
ambystoma_tigrinum <- searh_gbif_data(genus = "Ambystoma",
                                      "tigrinum",occlim=1000,
                                      writeFile=FALSE)

atigrinum_history <- occs_history(ambystoma_tigrinum)
plot(atigrinum_history$mot)

## End(Not run)

luismurao/ntbox documentation built on May 9, 2024, 8:24 p.m.