Skip to content

Instantly share code, notes, and snippets.

View Robsteranium's full-sized avatar

Robin Gower Robsteranium

View GitHub Profile
oa11cd lat lng
E00096185 50.4068 -4.6742
E00096186 50.4059 -4.6697
E00096187 50.4071 -4.6601
E00096188 50.407 -4.6634
E00096189 50.4044 -4.6689
E00096191 50.4093 -4.6736
E00096192 50.4089 -4.661
E00096193 50.4079 -4.6704
E00096194 50.4091 -4.67
@Robsteranium
Robsteranium / geographies.json
Last active October 1, 2021 12:28
CSVW to represent Geography Lookups from https://onsvisual.github.io/geo-draw/
{
"@context": ["http://www.w3.org/ns/csvw", {"@language": "en"}],
"tableSchema": {
"columns": [{
"name": "oa11cd",
"datatype": "string",
"propertyUrl": "skos:notation"
},{
"name": "lat",
"datatype": "decimal",
@Robsteranium
Robsteranium / grit-bin-schema-table-url.json
Last active August 1, 2022 13:53
Grit Bin Location Schema with Table URL
{
"@context": ["http://www.w3.org/ns/csvw", {"@language": "en"}],
"tables": [{
"url": "http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv",
"tableSchema": {
"columns": [
{
"name": "location",
"datatype": "integer"
},
@Robsteranium
Robsteranium / grit-bin-schema-aboutUrl.json
Last active August 1, 2022 13:52
Grit Bin Location Schema with About URL
{
"tableSchema": {
"columns": [
{
"name": "location",
"datatype": "integer"
},
{
"name": "easting",
"datatype": "decimal",
@Robsteranium
Robsteranium / grit-bin-schema-propertyUrl.json
Last active August 1, 2022 13:52
Grit Bin Location Schema with Property URL
{
"tableSchema": {
"columns": [
{
"name": "location",
"datatype": "integer"
},
{
"name": "easting",
"datatype": "decimal",
@Robsteranium
Robsteranium / grit-bin-schema-datatype.json
Last active August 1, 2022 13:52
Grit Bin Location Schema with Datatype
{
"tableSchema": {
"columns": [
{ "name": "location", "datatype": "integer" },
{ "name": "easting", "datatype": "decimal" },
{ "name": "northing", "datatype": "decimal" }
]
},
"dialect": {
"header": false
@Robsteranium
Robsteranium / grit-bin-schema-name.json
Last active August 1, 2022 13:51
Grit Bin Location Schema with Name
{
"tableSchema": {
"columns": [
{ "name": "location" },
{ "name": "easting" },
{ "name": "northing" }
]
},
"dialect": {
"header": false
@Robsteranium
Robsteranium / grit-bin-sample.ttl
Created November 5, 2020 13:21
Sample of Git Bin Locations as Linked-data
@prefix bin: <http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#> .
@prefix os: <http://data.ordnancesurvey.co.uk/ontology/spatialrelations/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
bin:696
bin:location 696
os:easting "424541.61132300000"^^xsd:decimal;
os:northing "433245.43908500000"^^xsd:decimal .
bin:278
@Robsteranium
Robsteranium / grit-bin-schema.json
Last active November 5, 2020 13:18
Schema for Git Bin Location table
{
"@context": ["http://www.w3.org/ns/csvw", {"@language": "en"}],
"tables": [{
"url": "http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv",
"tableSchema": {
"columns": [
{
"name": "location",
"datatype": "integer"
},
@Robsteranium
Robsteranium / grit-bin-sample.tsv
Created November 5, 2020 13:12
Sample of Grit Bin Locations from Data Mill North
647 434244.172304 428652.920455
646 434546.276382 428380.451633
6212 434644.819095 428412.411432
651 434758.675879 428527.599874
650 434821.652431 428439.025039