bdvis

About

Biodiversity Data Visualizations using R This set of functions to visualise biodiversity occurrence data through R. The Detailed proposal is available on this blog

Install

Install the development version using install_github within Hadley's devtools package.

install.packages("devtools")
require(devtools)

install_github("bdvis", "vijaybarve")
require(bdvis)

Note:

Windows users have to first install Rtools.

Packages bdvis depends on

For examples + [rinat] (https://github.com/ropensci/rinat)

Functions currently available

Preapre some data using package riNat

#install_github("rinat", "vijaybarve")
require(rinat)
# Data downlaod might take some time
inat=get_obs_project("indianmoths") 
inat=fixstr(inat,DateCollected="Observed.on",SciName="Scientific.name")
inat=getcellid(inat)

bdsummary

bdsummary(inat)

mapgrid

mapgrid(inat,ptype="records",bbox=c(60,100,5,40))

tempolar

tempolar(inat, color="green", title="iNaturalist daily", plottype="r", timescale="d")
tempolar(inat, color="blue", title="iNaturalist weekly", plottype="p", timescale="w")
tempolar(inat, color="red", title="iNaturalist monthly", plottype="r", timescale="m")

taxotree

inat=gettaxo(inat)
taxotree(inat)

chronohorogram

chronohorogram(inat)

bdcomplete

bdcomplete(inat)