Discovering Data
  • Home
  • Blog

Plotting geojson data

10/14/2018

0 Comments

 
The dataset contained data points with numerous labels which I wanted to plot. First I had to manually process the data point labels because the labels were not uniform, for example ​'Bridge (road over rail)','Bridge (rail over road)','Rail Bridge','Railway Bridge' and so on. Once I had identified all the labels I was interested in I collected them in lists and used these to create dataframes which were subsets of the main dataframe:
Code Editor

    
Then I plotted this data onto a blank outline map

    
Picture

0 Comments

    This blog includes:

    Scripts mainly in Python with a few in R covering NLP, Pandas, Matplotlib and others. See the home page for links to some of the scripts.  Also includes some explanations of basic data science terminology.

    Archives

    October 2018
    June 2018
    April 2018
    June 2017
    April 2017
    March 2017
    February 2017
    January 2017
    November 2016
    September 2016
    July 2016
    June 2016
    May 2016
    November 2015
    November 2014

    RSS Feed

Proudly powered by Weebly
  • Home
  • Blog