README.md

originr

cran checks Build Status Build status codecov.io rstudio mirror downloads cran version

Species Origin Data

Data sources:

Install

Stable CRAN version

install.packages("originr")

Development version

remotes::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     db
#> 1 Ciona intestinalis Ciona intestinalis           NaN mineps

Native Species Resolver

nsr("Pinus ponderosa", "United States")
#>     family genus         species       country state_province county_parish
#> 1 Pinaceae Pinus Pinus ponderosa United States                             
#>   native_status native_status_reason native_status_sources isIntroduced
#> 1             N     Native to region                                  0
#>   isCultivated
#> 1            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"        "bermuda"         
#>  [5] "chile"            "croatia"          "france"           "french polynesia"
#>  [9] "germany"          "gibraltar"        "greece"           "guernsey"        
#> [13] "ireland"          "italy"            "malta"            "mexico"          
#> [17] "new zealand"      "pitcairn"         "portugal"         "saint helena"    
#> [21] "spain"            "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

rofooter



Try the originr package in your browser

Any scripts or data that you put into this service are public.

originr documentation built on July 2, 2020, 2:53 a.m.