Skip to content

Instantly share code, notes, and snippets.

View kgturner's full-sized avatar

Kathryn G Turner kgturner

View GitHub Profile
library(data.table)
## skip the following by just clicking the link to download
download.file("https://dl.dropboxusercontent.com/u/18092793/plants.csv", method = "auto", destfile = "species.csv")
species <- fread("species.csv")
species[`Berry/Nut/Seed Product` == "Yes"|
`Christmas Tree Product` == "Yes" |
`Pulpwood Product` == "Yes"]
@sckott
sckott / centaurea_map.md
Last active December 17, 2015 21:29
Centaurea diffusa maps

Using rbison, interacts with USGS BISON web service, only US data

## load stuff
install.packages("devtools")
library(devtools)
install_github("rbison", "ropensci")
library(rbison)

## search for knapweed
@ibartomeus
ibartomeus / is.invasive.R
Created November 23, 2012 15:11
This function check which species (both plants and animals) are considered "invaders" somewhere in the world.
is.invasive()
##Description##
#This function check which species (both plants and animals) are considered "invaders" somewhere in the
# world. For that end, it checks GISD (http://www.issg.org/database/welcome/) and returns a value, either
#"Not invasive" or the brief description presented in GISD. Note that the webpage contains more
#information. Also note that the function won't tell you if it's exotic in your area, a lot of exotic
#species are not considered invaders (yet). As expected, the function is as good as the database is, which
#I find quite reliable and well maintained. The database is also able to recognize a lot (but not all) of