This repository contains the code, data, and images for Florida data center map visualization.
Executing the following steps in order will allow you to replicate the analyses in the article of accessing the geographic data, reading it into the computer, reformatting the data, creating an interactive visualization, and calculating area metrics.
- Install Python programming language on your computer. All the analyses in this article use the Python programming language. I recommend you download the free Anaconda distribution of Python here (https://www.anaconda.com/download; skip the registration).
- Not necessary but recommended. Install Git software on your. Follow the instructions at https://git-scm.com/install/. This is version control software that integrates seemlessly with the GitHub online platform. You can download all the files directly from GitHub.com without any Git software. But the Git software will allow you to more efficiently interact long-term with the project.
- Download or clone the
FL-DataCtrMapGitHub repository. I recommend you use Git.- Fork the main repository to your own GitHub account. Go to the main repository https://github.com/OpenSourceEcon/FL-DataCtrMap and press the "Fork" button in the upper-right corner of the screen. Select your GitHub account. This will create a copy of the repository on your account to which you can make any changes or upgrades you want. For example, my fork of the main repository is at https://github.com/rickecon/FL-DataCtrMap.
- Clone your fork of the main repository to your hard drive. In the Terminal on your computer (Mac, Linux) or in the Windows prompt, navigate to the directory on your hard drive where you want to save this directory. From the main page of your fork of the repository in your browser, click on the green "Code" button. Copy the URL from the "HTTPS" tab. Then, in your Terminal in the directory where you want to save these files, type:
git clone https://github.com/[YourGitHubHandle]/FL-DataCtrMap.git. You should put your GitHub handle in the spot where it says "[YourGitHubHandle]".
- Create the
fl-datactrmap-devconda environment from theenvironment.yml. This is similar to a Docker image. It creates an environment of packages and versions on which the Python scripts are known and tested to run correctly across operating systems. In your terminal window (Mac, Linux) or Windows prompt, navigate to the
The python script FL_DataCtrMap.py creates the interactive visualization of the Florida map with the available data center land (green) and the objects that influence what land is available (lakes, reservoirs, rivers, national parks, state parks, schools, residences, and businesses.).