bdvis
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_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.
bdvis
depends onFor examples + [rinat] (https://github.com/ropensci/rinat)
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(inat)
mapgrid(inat,ptype="records",bbox=c(60,100,5,40))
r 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(inat)
bdcomplete(inat)