# NOT RUN {
# Find multiple species
out <- searchbyterm(genus = "ochotona",
specificepithet = "(princeps OR collaris)", limit=10)
# Specifying a range (in meters) for uncertainty in spatial location
# (use quotes)
out <- searchbyterm(class = "aves", state = "nevada", error = "<25")
out <- searchbyterm(class = "aves", state = "california", year = 1976,
error = "<=1000")
# Specifying records by event date (use quotes)
out <- searchbyterm(class = "aves", state = "california",
date = "2009-03-25")
# ...but specifying a date range may not work
out <- searchbyterm(specificepithet = "nigripes",
date = "1935-09-01/1935-09-30")
# Pass in curl options for curl debugging
out <- searchbyterm(class = "aves", limit = 10,
callopts = list(verbose = TRUE))
# Use more than one year query
searchbyterm(cgenus = "mustela", specificepithet = "nigripes",
year = c('>=1900', '<=1940'))
# full text search - note the URL message
searchbyterm(query = "Mustela nigripes", limit = 50)
searchbyterm(query = "bear", limit = 50)
# }
Run the code above in your browser using DataLab