Hi,
I am trying to plot county level choropleth,
import urllib
import ast
import HTMLParser
import string
import json
url = 'http://catalog.civicdashboards.com/dataset/cda82e8b-7a8b-411e-95ba-1200b921c35d/resource/5c5d19a0-b817-49e6-b76e-ea63a8e2c0f6/download/fd880c1e4d23463ca869f1122109b3eftemp.geojson’
florida_data = urllib.urlopen(url).read()
florida_data = ast.literal_eval(florida_data)
this line florida_data = ast.literal_eval(florida_data) gives me errors
File “”, line 1
^
SyntaxError: invalid syntax
the florida_data is:
Access denied | catalog.civicdashboards.com used Cloudflare to restrict access body{margin:0;padding:0}Please enable cookies.
Error 1010 Ray ID: 3bd74e89a69599e0 • 2017-11-14 04:42:54 UTC
Access denied
<section></section><!-- spacer -->
<div class="cf-section cf-wrapper">
<div class="cf-columns two">
<div class="cf-column">
<h2 data-translate="what_happened">What happened?</h2>
<p>The owner of this website (catalog.civicdashboards.com) has banned your access based on your browser's signature (3bd74e89a69599e0-ua48).</p>
</div>
</div>
</div><!-- /.section -->
<div class="cf-error-footer cf-wrapper">
Cloudflare Ray ID: 3bd74e89a69599e0 • Your IP: 128.151.13.228 • Performance & security by Cloudflare
</div><!-- /#cf-error-details -->
Does anyone know how to solve this?
Thanks
Xin