Replication Data/Code for Route-based Geocoding of Traffic congestion-Related Social Media Texts on a Complex Network (Manuscript ID IJGIS-2024-1073)
收藏DataCite Commons2025-01-15 更新2025-09-08 收录
下载链接:
https://figshare.com/articles/dataset/Replication_Data_Code_for_Route-based_Geocoding_of_Traffic_congestion-Related_Social_Media_Texts_on_a_Complex_Network_Manuscript_ID_IJGIS-2024-1073_/28210757
下载链接
链接失效反馈官方服务:
资源简介:
<b>Instructions (with screenshots) to replicate results from Section 3 of the manuscript are available in</b><b> "Step-by-step Instructions to Replicate Results.pdf".</b>-------------------------------------------------------------------------------------------------------------------<b>Step 1: </b><b>Download the replication materials</b><br>Download the whole <b>replication </b>folder on figshare containing the code, data and replication files.<br><b>Step 2: Replicate Tables in Section 3</b>All of the data is available inside the sub-folder <b>replication/Data</b>. To replicate Tables 1 and 2 from section 3 of the manuscript run the Python file r<b>eplicate_section3_tables.py locally on your computer</b>. This will produce two .csv files containing Tables 1 and 2 (already provided). Note that it is not necessary to run the code in order to replicate the tables. The output data needed for replication is provided.<b>Step 3: </b><b>Replicate Figures in QGIS</b><br>The Figures must be replicated using QGIS, freely available at https://www.qgis.org/. Open the QGIS project <b>replicate_figures.qgz </b>inside the<b> replication/Replicate Figures </b>sub-folder. It should auto-find the layer data. The<b> </b>Figures are replicated as layers in the project.<b> </b><br><b>Step 4: Running the code from scratch</b><br>The accompanying code for the manuscript IJGIS-2024-1305, entitled "Route-based Geocoding of Traffic Congestion-Related Social Media Texts on a Complex Network" runs on <b>Google Colab as Python notebooks</b>. Please follow the instructions below to run the entire geocoder and network mapper from scratch. The expected running time is of the order of 10 hours on free tier Google Colab. <br><b>4a) Upload to Google Drive</b><br>Upload the entire <b>replication </b>folder to your Google Drive. Note the path (location) to which you have uploaded it. There are two Google Colab notebooks that need to be executed in their entirety. These are Code/Geocoder/The_Geocoder.ipynb and Code/Complex_Network/Complex_network_code.ipynb. They need to be run in order (Geocoder first and Complex Network second). <br><b>4b) Set the path </b><br>In each Google Colab notebook, you have to set the variable called “REPL_PATH” to the location on your Google Drive where you uploaded the replication folder. Include the replication folder in the path. For example "/content/drive/MyDrive/replication"<br><b>4c) Run the code</b><br>The code is available in two sub-folders, <b>replication/Code/Geocoder </b>and <b>replication/Code/Complex_Network</b>. You may simply open the Google Colab notebooks inside each folder, mount your Google Drive, set the path and run all cells. <br><br><br>
提供机构:
figshare
创建时间:
2025-01-15



