title: How to load geojson data from a FeatureCollection into a data.frame?
body: <p>Hi I'm looking to bring a geojson FeatureCollection from the UK's Office of National Statistics API into a data.frame using the httr package.  </p>
  
  <pre><code>library(httr)
  
  HealthGeog &lt;- GET("https://opendata.arcgis.com/datasets/f0095af162f749ad8231e6226e1b7e30_0.geojson")
  </code></pre>
  
  <p>And getting a successful response:</p>
  
  <pre><code>&gt; HealthGeog
  Response [https://opendata.arcgis.com/datasets/f0095af162f749ad8231e6226e1b7e30_0.geojson]
    Date: 2018-11-21 13:28
    Status: 200
    Content-Type: application/json; charset=utf-8
    Size: 9.59 MB
  </code></pre>
  
  <p>But being new to working with JSON, not sure how to navigate to the list within the FeatureCollection and load this into a data.frame?</p>