ridigbio is an R package to access iDigBio (Integrated Digitized Biocollections).
ridigbio is avaliable via CRAN.
install.packages("ridigbio")
If R says the package is unavailable, you may not have set a CRAN mirror. You can do so with:
chooseCRANmirror()
If R says that a binary package is not available, your version of R may be too old. Please review the versions of R that CRAN has built packages for on the CRAN ridigbio package page.
You can download the source package and install manually if there is no package built for your version of R. You may also need to install any dependencies.
install.packages("ridigbio", type="source")
On Linux, you may encounter an error during the installation process if you do not have libcurl
installed. The method for installing libcurl will vary between distributions, but on Ubuntu you can install the latest version via:
sudo apt install libcurl4
There are several articles that can help get you started:
Most iDigBio users are interested in downloading occurrence records:
library("ridigbio")
idig_search_records(rq=list(genus="galax"))
idig_search_records(rq=list(family="diapensiaceae"), limit=1000)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.