wpfadenhauer / Global-Invasion-Rates

Raw data and R code for the "Global Invasion Rates" manuscript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global Invasion Rates

The following files include the raw data and R code used in the "Global Invasion Rates" manuscript (URL/DOI to be updated once manuscript is published). Please reach out if you have any questions about content or organization in this repo.



Raw Data Files:

  1. December_Database_Backup.csv

    • This is the main database. Includes species names, invasion status (established or invasive), Native L1-L4 regions, Established L1-L4 regions, and Invasive L1-L4 regions for each species.
    • Species names are standardized using WCVP through the TNRS R package.
    • Invasion status is based on whether we found evidence of negative impacts for that species in at least one location. If the species has negative impacts anywhere, it is listed as invasive, otherwise it is established. See Methods in manuscript for data sources and collection methods.
    • The following columns will be empty for all established species: Invasive_L1, Invasive_L2, Invasive L3, Invasive L4.
    • L1, L2, L3, and L4 codes are from WGSRPD. See their GitHub (https://github.com/tdwg/wgsrpd) and Wikipedia (https://en.wikipedia.org/wiki/List_of_codes_used_in_the_World_Geographical_Scheme_for_Recording_Plant_Distributions) for more information.
    • Plant records at finer spatial scales have been converted to their corresponding coarser scales for completeness. For example, species reported as invasive in the state of Massachusetts, U.S.A. (column Invasive_L3 = MAS) were also recorded as invasive in the Northeastern U.S.A. (column Invasive_L2 = 75) and Northern America (column Invasive_L1 = 7).
    • Since some data was only available at the country or continental level, this database includes the most information at the L1 (continental) scale and the least information at the L4 (province/state) scale.
  2. Dec_Dat_Bac_WO_NA_regions.csv

    • This is the same file as December_Database_Backup.csv, but with all occurrences in the regions in NA_regions_codes.csv removed.
  3. NA_regions_codes.csv

    • Occurrences in these regions have been removed from Dec_Dat_Bac_WO_NA_regions.csv. These regions had invasion rates of 0% or 100%, indicating that they did not distinguish between established and invasive species when recording distribution. Therefore, data from these regions are not appropriate for our analyses.
  4. Extra_Islands.csv

    • For most of the L3 and L4 regions included in December_Database_Backup.csv, we used the "island" or "not island" labels used by GloNAF. The L3 and L4 regions in this file are not included in GloNAF, so we assigned these "island"/"not island" labels manually based on individual searches of each location.
    • In the "island" column, 1 = island and 0 = not island.
  5. January_Climate_Overlaps_Removed_Backup.csv

    • This is an edited version of December_Database_Backup that we used only for the climate analyses.
    • See Final_Climates.Rmd file below to see the steps that created this file.
  6. L3_Better_Climate_data.csv

  7. L4_Better_Climate_data.csv

    • Same as L3_Better_Climate_Data.csv except for L4 regions instead of L3 regions.
  8. Table1_Codes_R.csv

    • Has all relevant L2, L3, and L4 codes classified into their respective climates and whether they are islands or mainlands. This file is used in Table1.Rmd (below).



R Code Files:

  1. Final_TensRule.Rmd

    • Calculates average invasion rates at L1-L4 scales, along with corresponding confidence intervals and significance testing. (Data for Figure 1 in the manuscript).
  2. Final_Islands.Rmd

    • Calculates average invasion rates for islands and mainlands at the global scale and L3 scale, along with corresponding confidence intervals and significance testing. (Data for Figure 2 in the manuscript).
  3. Final_Climates.Rmd

    • Alters December_Database_Backup.csv to become January_Climate_Overlaps_Removed_Backup.csv.
    • Calculates average invasion rates for the 5 major Köppen climates (Tropical, Arid, Temperate, Continental, Polar) as well as islands and mainlands within each of those 5 major climates (data for Figure 3 in the manuscript). Also includes the corresponding confidence intervals and significance testing for this data.
    • Calculates invasion rates for "climate flows" (data for Supplemental Figure S1 in the manuscript).
  4. Table1.Rmd

    • Calculates all the numbers found in Table 1 in the manuscript.

About

Raw data and R code for the "Global Invasion Rates" manuscript.