Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Biodiversity data Visualizations in R
R
Branch: master

README.md

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

Functions currently available

Preapre some data using package riNat

#install_github("rinat", "vijaybarve")
require(rinat)
# Data downlaod might take some time
inat=get_inat_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),regions=c("India"))

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)

datasubset

inat1=datasubset(inat,minyear=2000, maxyear=2014)

format_bdvis

inat=format_bdvis(inat)

distrigraph

distrigraph(inat2,type="cell")
distrigraph(inat2,type="species")
distrigraph(inat2,type="efforts",col="red")

bdcalenderheat

bdcalenderheat(inat)
Something went wrong with that request. Please try again.