Part 1: Includes the code (PT1-Analysis-022825) and data files needed to run code
收藏DataCite Commons2025-03-07 更新2025-05-07 收录
下载链接:
https://figshare.com/articles/dataset/Part_1_Includes_the_code_PT1-Analysis-022825_and_data_files_needed_to_run_code/28550489
下载链接
链接失效反馈官方服务:
资源简介:
<b>PT1-Analysis-022825: </b>This file takes a dataframe containing climatic, economic, and species richness data for the 149 countries included in this study and uses structural equation modeling to explore the relationships between these variables. The script includes data cleaning, log transformations, detecting spatial autocorrelation, AIC model selection, SEM analysis, and ultimately visualization (making the figures in this manuscript).<b><i>To run this script, the following pieces of data are needed: </i></b><b>a.</b><b> </b><b>final.comps.country.table.csv:</b><b> </b>This includes the following column names: Country (the name), Population, area (in km^2), island (whether the country is island or mainland. Countries that have islands were categorized as mainland-- the US, for example), plantNum (which is the total number of native plants, which was collected from literature on country level floral surveys or convention on biological diversity reports), region (North Africa, Eastern Europe, etc), climate (tropics vs temperate), nias (number of invasive species according to GRIIS*), and naliens (number of alien species according to GRIIS*)<b>b.</b><b> </b><b>KOFGI_2021.csv:</b> This is a file that has the KOF indices for each country from 2021. This was sourced from https://kof.ethz.ch/en/forecasts-and indicators/indicators/kof-globalisation-index.html<b>c.</b><b> </b><b>per capita gdp 2021- correct.csv: </b>This is a file that has the per capita GDP values for each country from 2021. This was sourced from https://data.worldbank.org/indicator/NY.GDP.PCAP.CD<b>d.</b><b> </b><b>*GRIIS csv files for 149 countries, sourced from griis.org: </b>NOTE: You do NOT need this to run the code. We used the GRIIS files to find the number of alien and invasive species in each country. This data has been added to the final.comps.country.table.csv (see above). However, the GRIIS files are still uploaded to figshare, and the code that counts the number of alien and invasive plants in each country IS available in this R script. To bypass the species counts (so you do not have to upload all 149 csv files), simply go to the section that says “START” and make sure you have your working directory set correctly, and the country table downloaded and read in.
提供机构:
figshare
创建时间:
2025-03-07



