Skip to content

Instantly share code, notes, and snippets.

Leigh Dodds ldodds

Block or report user

Report or block ldodds

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ldodds / dgu-dataset-site-names.csv
Created Dec 8, 2018
Bristol Allotment Site Name Comparison
View dgu-dataset-site-names.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Sites from DGU Dataset
Arlington Road Allotments
Ashley Vale Allotments
Atwood Drive Allotments
Barracks Lane Allotments
Bath Road Allotments
Beaufort Road Allotments
Bedminster Down C Allotments
Bell Hill Allotments
Bifield Road Allotments
ldodds / kumu.css
Created Jul 24, 2018
Kumu configuration
View kumu.css
@settings {
template: systems;
connection-color: #0DBC37;
opposite-style: none;
font-color: #000;
font-size: 33;
element-text-align: bottom;
/* Knowledge & Insights */
View test.json
"type": "Event",
"identifier": 40,
"name": "Bootcamp",
"url": "",
"location": {
"type": "Place",
"address": {
"type": "PostalAddress",
"streetAddress": "London SE4 1LE, UK,undefined",
View A-Publish-opportunities-to-book-a-facility-at-a-leisure-centre.json
"@context": "",
"type": "FacilityUse",
"url": "",
"name": "Example Leisure Centre Table Tennis",
"description": "Table tennis tables are available to hire for thirty minute slots",
"activity": "Table Tennis",
"location": {
"type": "Place",
"name": "Example Leisure Centre",
ldodds / view.css
Created Jun 7, 2018
kumu advanced view
View view.css
@settings {
template: systems;
connection-color: #686868;
opposite-style: none;
font-color: #000;
font-size: 24;
/* Intangible Value */
connection["connection type"="intangible"] {
ldodds / event-with-location.json
Last active May 2, 2018
OpenActive opportunity model examples
View event-with-location.json
"@context": "",
"type": "Event",
"name": "Tai chi Class",
"description": "A tutored beginner's class that will involve demonstrates and a set of warm-up activities. Everyone welcome",
"id": "",
"url": "",
"startDate": "2017-03-22T20:00:00Z",
"endDate": "2017-03-22T21:00:00Z",
"duration": "PT60M",
ldodds / custom.jsonld
Last active Apr 23, 2018
Example of a simple custom JSON-LD context
View custom.jsonld
"label":"This is the label"
View gist:cffbc4bf4a4c639e01b50dd1ab6cde4c
import osmnx as ox
ox.config(log_file=True, log_console=True, use_cache=True)
# configure the inline image display
img_folder = 'images'
extension = 'png'
size = 350
dpi = 120
street_widths = {'footway' : 0.5,
ldodds /
Last active Dec 11, 2018
Spells for open data paladins

Spells for Open Data Paladins:

Level 1

  • Resistance: subject gains +1 savings throws against publisher excuses
  • Endure Elements: exist comfortably in XML workflows

Level 2

  • Remove PDF: frees one or more datasets from a document
View pages.csv
We can't make this file beautiful and searchable because it's too large.
"A collection of playbills from Theatre Royal, Bath 1812-1818","1812-1818","","vdc_100022589024.0x000002","1815-01-03","1818-12-31",1,"",,,,
"A collection of playbills from Theatre Royal, Bath 1812-1818","1812-1818","","vdc_100022589024.0x000002","1815-01-03","1818-12-31",2,"",,,,
"A collection of playbills from Theatre Royal, Bath 1812-1818","1812-1818","","vdc_100022589024.0x000002","1815
You can’t perform that action at this time.