ropensci/AntWeb

Name: AntWeb

Owner: rOpenSci

Description: An R wrapper for the AntWeb API

Created: 2013-11-23 23:59:28.0

Updated: 2017-07-01 18:04:10.0

Pushed: 2017-07-01 18:04:20.0

Homepage: null

Size: 116

Language: R

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

AntWeb

Project Status: Active ? The project has reached a stable, usable state and is being actively developed. CRAN/GitHub 0.7_/_0.7.4.99

AntWeb is a repository of ant specimen records maintained by the California Academy of Sciences. From the website's description:

AntWeb is the world's largest online database of images, specimen records, and natural history information on ants. It is community driven and open to contribution from anyone with specimen records, natural history comments, or images.

Resources

Package Status and Installation

AppVeyor Build Status Travis-CI Build Status codecov rstudio mirror downloads

Installation Instructions

Stable version

all.packages("AntWeb", dependencies = TRUE)
rsion 0.6

Development version

 you don't already have the devtools package installed, run
stall.packages("devtools")
like most packages, devtools requires additional non-R dependencies depending on your OS. 
e ? https://github.com/ropensci/rOpenSci/wiki/Installing-devtools
ary(devtools)
all_github("ropensci/AntWeb", ref = "dev")
Usage

| Function name | Description | Example | | ————- | ———– | ——- | | aw_data | Search for data by taxonomic level, full species name, a bounding box, habitat, elevation or type. | Search by a species name
aw_data(scientific_name = "acanthognathus brevicornis")
or by a genus
crem <- aw_data(genus = "crematogaster")
Search by a bounding box
aw_data(bbox = '37.77,-122.46,37.76,-122.47')
Search by an elevation band
aw_data(min_elevation = 1500, max_elevation = 2000) | | aw_unique | Obtain a list of unique levels by various taxonomic ranks | aw_unique(rank = "subfamily")
genus_list <- aw_unique(rank = "genus")
aw_unique(rank = "species") | | aw_images | Search photos by type or time since added. | aw_images(since = 5)
aw_images(since = 5, type = "h") | | aw_coords | Search for specimens by location and radius | aw_coords(coord = "37.76,-122.45", r = 5) | | aw_code | Search for a specimen by record number | aw_code(occurrenceid = "CAS:ANTWEB:alas188691") | | aw_map | Map georeferenced data | adf <- aw_data(genus = "acanthognathus", georeferenced = TRUE)
aw_map(adf) |

Citation
ite package ?AntWeb? in publications use:

arthik Ram' (2014). AntWeb: programmatic interface
 the AntWeb. R package version 0.7.2.99.
tps://github.com/ropensci/AntWeb

bTeX entry for LaTeX users is

anual{,
title = {AntWeb: programmatic interface to the AntWeb},
author = {'Karthik Ram'},
year = {2014},
note = {R package version 0.7.2.99},
url = {https://github.com/ropensci/AntWeb},


This package is part of a richer suite called SPOCC Species Occurrence Data, along with several other packages, that provide access to occurrence records from multiple databases. We recommend using SPOCC as the primary R interface to AntWeb unless your needs are limited to this single source.


Questions, bugs, and suggestions

Please file any bugs or questions as issues or send in a pull request.


Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

ropensci_footer


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.