NRI-PT2-LMP-022425.R
# I chose six globally distributed invasive plants. For each plant, I determined which countries the plant was invasive in by using my "Which_Country" function. This is based off data from GRIIS (link: GRIIS.org/)-- essentially, it finds the files in which the invasive plant is named. I then went to GBIF and looked at all the global observations, and went country by country and drew a rectangle over 70%+ of the country's observations (which I refer to as the area most densely invaded). I downloaded those observations, along with all the plant observations in the same space, with appropriate restrictions (year, quality, human observations, etc).
I then download the observations csv into GBIF Data Chpt 1,and upload it as "Indonesia.GBIF.CO" for example. From there, I can use the functions I created to find the NRI, following a tutorial linked below.