Description Usage Arguments Value Note Examples
Find the taxa that occur in a given state of Brazil.
1 | occurrence(states, type = c("any", "only", "all"), taxa = NULL)
|
states |
a character vector with one or more state abbreviations following. See notes for abbreviations. |
type |
type of matching to be used. |
taxa |
optional character vector to match against the states |
a data frame
List of abbreviations: http://en.wikipedia.org/wiki/States_of_Brazil
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
occ.any <- occurrence(c("SP", "BA", "MG"), type = "any")
occ.only <- occurrence(c("SP", "BA", "MG"), type = "only")
occ.all <- occurrence(c("SP", "BA", "MG"), type = "all")
occ.taxa <- occurrence(c("SP", "BA", "MG"), type = "all", taxa = lower.taxa("Myrcia"))
head(occ.any)
head(occ.only)
head(occ.all)
head(occ.taxa)
## End(Not run)
|
sh: 1: wc: Permission denied
sh: 1: cannot create /dev/null: Permission denied
Could not detect number of cores, defaulting to 1.
id family search.str occurrence
1 271 Rutaceae Almeidea coerulea BR-BA
2 274 Rutaceae Almeidea lilacina BR-ES|BR-MG|BR-RJ|BR-SP
3 277 Rutaceae Almeidea rubra BR-BA|BR-ES|BR-MG|BR-PR|BR-RJ
4 280 Rutaceae Andreadoxa flava BR-BA
5 285 Rutaceae Angostura bracteata BR-BA|BR-ES|BR-RJ
6 342 Rutaceae Balfourodendron molle BR-BA|BR-CE|BR-MG|BR-PE|BR-PI|BR-SE
id family search.str occurrence
1 4291 Alstroemeriaceae Alstroemeria plantaginea BR-BA|BR-MG|BR-SP
2 4585 Apocynaceae Ditassa retusa BR-BA|BR-MG|BR-SP
3 4616 Apocynaceae Hemipogon carassensis BR-BA|BR-MG|BR-SP
4 4804 Apocynaceae Oxypetalum strictum BR-BA|BR-MG|BR-SP
5 5408 Asteraceae Mikania obtusata BR-BA|BR-MG|BR-SP
6 7018 Convolvulaceae Evolvulus stellariifolius BR-BA|BR-MG|BR-SP
id family search.str
1 401 Rutaceae Citrus reticulata
2 542 Rutaceae Dictyoloma vandellianum
3 583 Rutaceae Esenbeckia febrifuga
4 589 Rutaceae Esenbeckia grandiflora
5 591 Rutaceae Esenbeckia grandiflora subsp. grandiflora
6 592 Rutaceae Esenbeckia grandiflora var. grandiflora
occurrence
1 BR-BA|BR-DF|BR-GO|BR-MG|BR-MS|BR-PR|BR-RS|BR-SC|BR-SP
2 BR-AC|BR-BA|BR-ES|BR-MG|BR-RJ|BR-RO|BR-SP
3 BR-BA|BR-CE|BR-ES|BR-MG|BR-MS|BR-MT|BR-PE|BR-PR|BR-RJ|BR-SC|BR-SP
4 BR-AC|BR-AL|BR-BA|BR-CE|BR-ES|BR-GO|BR-MG|BR-MS|BR-PA|BR-PB|BR-PE|BR-PI|BR-PR|BR-RJ|BR-RO|BR-RS|BR-SC|BR-SE|BR-SP
5 BR-AC|BR-AL|BR-BA|BR-CE|BR-DF|BR-ES|BR-GO|BR-MA|BR-MG|BR-MS|BR-MT|BR-PA|BR-PB|BR-PE|BR-PI|BR-PR|BR-RJ|BR-RO|BR-RS|BR-SC|BR-SE|BR-SP
6 BR-AC|BR-AL|BR-BA|BR-CE|BR-DF|BR-ES|BR-GO|BR-MG|BR-MS|BR-MT|BR-PA|BR-PB|BR-PE|BR-PI|BR-PR|BR-RJ|BR-RN|BR-RO|BR-RS|BR-SC|BR-SE|BR-SP
id family search.str
1 10661 Myrtaceae Myrcia amazonica
2 10672 Myrtaceae Myrcia brasiliensis
3 10684 Myrtaceae Myrcia eriocalyx
4 10688 Myrtaceae Myrcia fenzliana
5 10698 Myrtaceae Myrcia grandifolia
6 10699 Myrtaceae Myrcia guianensis
occurrence
1 BR-AC|BR-AM|BR-AP|BR-BA|BR-DF|BR-ES|BR-GO|BR-MA|BR-MG|BR-MT|BR-PA|BR-PE|BR-PR|BR-RJ|BR-RO|BR-RR|BR-SC|BR-SP|BR-TO
2 BR-BA|BR-ES|BR-MG|BR-PR|BR-RJ|BR-RS|BR-SC|BR-SP
3 BR-BA|BR-ES|BR-MG|BR-RJ|BR-SP
4 BR-BA|BR-DF|BR-GO|BR-MG|BR-SP
5 BR-BA|BR-ES|BR-MG|BR-PR|BR-RJ|BR-SP
6 BR-AC|BR-AL|BR-AM|BR-AP|BR-BA|BR-CE|BR-ES|BR-GO|BR-MG|BR-MS|BR-MT|BR-PA|BR-PE|BR-RJ|BR-RN|BR-RS|BR-SC|BR-SP
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.