Instantly share code, notes, and snippets.

View belfastbikes_routes_20160527.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View belfastbikes_stations_20190109.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 17 columns, instead of 11.
latitude,longitude,altitude,geometry,@id,amenity,capacity,contact:email,contact:phone,name,network,opening_hours,operator,ref,start_date,website,addr:street
54.5921715,-5.9255467,,Point,node/3660017569,bicycle_rental,12,belfastbikes@nsl.co.uk,+44 34 3357 1551,Gasworks (Cromac Street),Belfast Bikes,06:00-00:00,Belfast Bikes (Belfast City Council),3907,2015-04-27,http://www.belfastbikes.co.uk/en/belfast/,
54.6049485,-5.9215345,,Point,node/3660017570,bicycle_rental,14,belfastbikes@nsl.co.uk,+44 34 3357 1551,Corporation Square,Belfast Bikes,06:00-00:00,Belfast Bikes (Belfast City Council),3922,2015-04-27,http://www.belfastbikes.co.uk/en/belfast/,
54.5912531,-5.9226342,,Point,node/3661477546,bicycle_rental,16,belfastbikes@nsl.co.uk,+44 34 3357 1551,Gasworks (Lagan Towpath),Belfast Bikes,06:00-00:00,Belfast Bikes (Belfast City Council),3927,2015-04-27,http://www.belfastbikes.co.uk/en/belfast/,
54.5972712,-5.9211082,,Point,node/3662871700,bicycle_rental,24,belfastbikes@nsl.co.uk,+44 34 3357 1551,Waterfront,Belfast B
View index.html
<script src="https://use.typekit.net/bkt6ydm.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
<div class="container-fluid">
<div class="row example-centered">
<div class="col-md-12 example-title">
<h2>Our History</h2>
<p>We were founded in 1938, and today represent the interests of over 1,100 members and the wider community and voluntary sector.</p>
</div>
<div class="col-xs-12 col-sm-10 col-sm-offset-1">
<ul class="timeline timeline-centered">
View url_testing.csv
List Field List confirmed? Status URL
AE-ACCI url True error connecting https://www.ajmanchamber.ae/en/Pages/default.aspx
AE-ADCD url True 200 http://www.abudhabichamber.ae/English/E-Services/Pages/EServices-Page.aspx?sm=1&ty=s
AE-AFZ url True 200 http://www.afz.gov.ae/
AE-DCCI url True 200 http://www.dcciinfo.com/
AE-DFSA url True 302 https://www.dfsa.ae/Public-Register/Firm
AE-DIFC url True 200 https://www.difc.ae/public-register
AE-DMCC url True 200 https://www.dmcc.ae/
AE-FCCI url True 200 http://www.fujcci.ae/
AE-FFZ url True 200 http://www.fujairahfreetradezone.com/appdir/company-listing.php
View data.threesixtygiving.org data.json
[
{
"title":"Grants to voluntary, community and social enterprise organisations 2016-17",
"description":"",
"identifier":"a002400000rHuAWAA0",
"license":"http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
"license_name":"Open Government Licence 3.0 (United Kingdom)",
"issued":"2017-10-11",
"modified":"2017-11-03T16:35:35+0000",
"publisher": {
View tm75_wgs84.py
from pyproj import Proj, transform
def irish_to_wgs84(northing, easting):
prj_tm75 = Proj(init='epsg:29902')
prj_wgs84 = Proj(proj='latlong', datum='WGS84')
x, y = transform(prj_tm75, prj_wgs84, northing, easting)
return x, y
print(irish_to_wgs84(248264, 442542))
## -6.9927979, 53.709714
View makefile
## download makefile to an empty directory
## create a directory within that called /output
## run 'make wards2012.shp' and 'make wards2012.geojson'
## the shapefile/geojson file will appear in /output
wards.zip:
curl -o 'wards.zip' 'http://osni-spatial-ni.opendata.arcgis.com/datasets/55cd419b2d2144de9565c9b8f73a226d_0.zip'
curl -o 'ni_outline.zip' 'http://osni-spatial-ni.opendata.arcgis.com/datasets/d9dfdaf77847401e81efc9471dcd09e1_0.zip'
OSNI_Open_Data_Largescale_Boundaries__NI_Outline.shp: ni_outline.zip
View female_65.csv
category name value
Circulatory CHD 0.1
Circulatory Stroke 0.1
Circulatory Other Circulatory 0.0
Respiratory Pneumonia 0.0
Respiratory Chronic Lower Respiratory Disease 0.1
Respiratory Other Respiratory 0.0
Cancer Lung 0.2
Cancer Breast 0.0
Cancer Prostate 0.0
View female_birth.csv
category name value
Circulatory CHD 0.1
Circulatory Stroke 0.1
Circulatory Other Circulatory -0.1
Respiratory Pneumonia 0.1
Respiratory Chronic Lower Respiratory Disease 0.0
Respiratory Other Respiratory 0.0
Cancer Lung 0.0
Cancer Breast 0.0
Cancer Prostate 0.0
View female_65.csv
category name value
Circulatory CHD 0.5
Circulatory Stroke 0.1
Circulatory Other Circulatory 0.2
Respiratory Pneumonia 0.1
Respiratory Chronic Lower Respiratory Disease 0.5
Respiratory Other Respiratory 0.1
Cancer Lung 0.5
Cancer Breast 0.0
Cancer Prostate 0.0