Species origin data from the web in R
R
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
man
tests
.Rbuildignore
.gitignore
.travis.yml
CONDUCT.md
DESCRIPTION
LICENSE
NAMESPACE
NEWS.md
README.Rmd
README.md
appveyor.yml
originr.Rproj

README.md

originr

Build Status codecov.io rstudio mirror downloads cran version

Species Origin Data

Data sources:

Install

Stable CRAN version

install.packages("originr")

Development version

devtools::install_github("ropensci/originr")
library("originr")

EOL invasive species datasets

Datasets included:

An example using mineps

eol(name='Ciona intestinalis', dataset='mineps')
#>        searched_name                                name eol_object_id
#> 1 Ciona intestinalis Ciona intestinalis (Linnaeus, 1767)        512629
#>       db
#> 1 mineps

Native Species Resolver

nsr("Pinus ponderosa", "United States")
#>     family genus         species       country native_status
#> 1 Pinaceae Pinus Pinus ponderosa United States             P
#>                                                 native_status_reason
#> 1 Present in one or more checklists for region, status not indicated
#>   native_status_sources isIntroduced isCultivated
#> 1                  usda            0            0

Global Invasive Species Database

sp <- c("Carpobrotus edulis", "Rosmarinus officinalis")
gisd(sp)
#> $`Carpobrotus edulis`
#> $`Carpobrotus edulis`$species
#> [1] "Carpobrotus edulis"
#> 
#> $`Carpobrotus edulis`$alien_range
#>  [1] "albania"          "argentina"        "australia"       
#>  [4] "bermuda"          "chile"            "croatia"         
#>  [7] "france"           "french polynesia" "germany"         
#> [10] "gibraltar"        "greece"           "guernsey"        
#> [13] "ireland"          "italy"            "malta"           
#> [16] "mexico"           "new zealand"      "pitcairn"        
#> [19] "portugal"         "saint helena"     "spain"           
#> [22] "tunisia"          "united kingdom"   "united states"   
#> 
#> $`Carpobrotus edulis`$native_range
#> character(0)
#> 
#> 
#> $`Rosmarinus officinalis`
#> $`Rosmarinus officinalis`$species
#> [1] "Rosmarinus officinalis"
#> 
#> $`Rosmarinus officinalis`$status
#> [1] "Not in GISD"

Flora Europaea

flora_europaea("Lavandula stoechas")
#> $native
#>  [1] "Islas_Baleares" "Corse"          "Kriti"          "France"        
#>  [5] "Greece"         "Spain"          "Italy"          "Portugal"      
#>  [9] "Sardegna"       "Sicilia"        "Turkey"        
#> 
#> $exotic
#> [1] NA
#> 
#> $status_doubtful
#> [1] NA
#> 
#> $occurrence_doubtful
#> [1] NA
#> 
#> $extinct
#> [1] NA

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for originr in R doing citation(package = 'originr')
  • 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.

rofooter