Last active
August 29, 2015 14:12
-
-
Save robhoare/1184357542ddc0a7f4dd to your computer and use it in GitHub Desktop.
Turn saved data from Scotlandspeople Valuation Rolls into tsv
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
grep -h '<td>' *.html | sed -e 's/<\/td>*//g' | sed -e 's/ *//g'| sed -e 's/<td>*/\t/g' | sed -e 's/^[ \t]*//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run this is in a directory of "printer friendly" html files saved from Scotlandspeople. Output is a tsv from all the files. For the valuation rolls, the columns are number (of output line on report page, so not useful), Year, Status (of ownership/occupation), Title, Surname, Forename, Place, Parish, County/Burgh, Reference.