Roll-up report of MoJ forms from government-form-data data.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"required": [ | |
"name", | |
"shoesizeLeft" | |
], | |
"properties": { | |
"name": { | |
"title": "Name", | |
"description": "Gimme yea name lad", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"required": [ | |
"name", | |
"shoesizeLeft" | |
], | |
"properties": { | |
"name": { | |
"title": "Name", | |
"description": "Gimme yea name lad", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io | |
import csv | |
import requests | |
class Records: | |
"Minimal register client" | |
records = {} | |
url = 'https://%s.register.gov.uk/records.tsv?page-size=5000' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 10 /government/uploads/system/uploads/attachment_data/file/98864/thumbnail_emr-2010-11.pdf.png GET 200 origin,2 | |
find daily -type d -name '20??????' | | |
while read dir | |
do | |
date=$(echo "$dir" | sed -e 's/^.*\(20[0-9]*\).*$/\1/') | |
zcat $dir/count_cdn-govuk.log-20*.csv.gz | | |
sed -e 's/^[0-9][0-9] //' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.openregister.org/ | |
https://gds.blog.gov.uk/2015/09/01/registers-authoritative-lists-you-can-trust/ | |
https://twitter.com/search?q=from%3Apsd%20%22list%20of%20the%20day%22&src=typd | |
https://www.gov.uk/government/publications/list-of-gov-uk-domain-names | |
https://www.gov.uk/government/publications/current-registered-providers-of-social-housing | |
https://data.gov.uk/dataset/list-of-internal-drainage-boards | |
https://www.gov.uk/government/publications/list-of-authorised-isa-managers/isas-authorised-managers | |
http://openregister.github.io/country-data/lists/report.html | |
https://reports.ofsted.gov.uk/ | |
https://github.com/psd/doctate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import csv | |
for row in csv.DictReader(sys.stdin, delimiter='\t'): | |
if '"' in row['name']: | |
print(row['name']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import csv | |
for row in csv.DictReader(sys.stdin, delimiter='\t'): | |
if '"' in row['name']: | |
print(row['name']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ egrep 'a.*e.*i.*o.*u' /usr/share/dict/words | |
abietineous | |
abstemious | |
abstemiously | |
abstemiousness | |
abstentious | |
acetabuliferous | |
acetarious | |
acheilous | |
acheirous |
Location Data Importer is a scala application that imports Ordinance Survey data into a mongo database. Primarily it is used to back the locate-api which provides address and local authority lookups from postcode / GSS Code.
The code is under an MIT license, see LICENSE.
This is backed by two Ordinance Survey products: