Loading a CSV File
Finding the population in an area is interesting, but suppose we would like to take our analysis a step futher and add data about the location of other scooters in the city.
For this, we can use public data which is reported by existing scooter operators. There is a CSV of this data available here: https://github.com/carstonhernke/demo-h3-data/blob/main/csv/available_scooters.csv.
This CSV file contains latitude
and longitude
columns, which are required for Honeycomb to correctly add the data to the map. You can all of the requirements for data files on the Data Formats page.
Loading from a local CSV file
To load a local CSV file into Honeycomb, click on 'Add Data' and then on 'Upload File' on the left side menu. You can then either drag your CSV file into the window, or click on the upload box to select a file from your computer.
To load files even faster, you can drag a file directly into the Data Layers sidebox and it will be loaded instantly.
Because Honeycomb runs completely in the browser, when you add a local file into Honeycomb it is not uploaded to any server. The data stays completely on your computer.
You can see all of the requirements for CSV files on the Data Formats page.
🗺️ FOLLOW ALONG
Download the scooter CSV file from https://github.com/carstonhernke/demo-h3-data/blob/main/csv/available_scooters.csv, then load it into Honeycomb.
Loading from a remote CSV file
In addition to loading data from a local file, Honeycomb can also load data that is located at a remote URL. For example, the scooter location file referenced above is available in raw form at https://raw.githubusercontent.com/carstonhernke/demo-h3-data/main/csv/available_scooters.csv
. Rather than downloading this file to your computer and then loading it into Honeycomb, you can simply tell Honeycomb to load the file from the remote location.
To load a file from a remote location, click on 'Add Data', and then click on 'Remote File URL' on the left side menu. Paste the URL into the 'File URL' box, and then click on 'Load Data' to load the data into the map.
Remote files let you use data that others have created, without worrying about files on your computer. They also enable map sharing. You can learn more about how Honeycomb handles local and remote files on the Local and Remote Files page.