home / cp40x

names

10 rows where case_id = 2015806

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3974955 2015806 2015806 plaintiff Holland Roger clothworker 585869 585869 Holland, Roger, of London, clothworker 0
3974956 2015806 2015806 defendant Fenwyll Thomas chapman 590901 590901 Fenwyll, Thomas, of Thetford, Norf, chapman 0
3974957 2015806 2015806 defendant Kyrven Henry chapman 586117 586117 Kyrven, Henry, of Coventry, chapman 1
3974958 2015806 2015806 defendant Gwyn Owen gent 585925 585925 Gwyn, Owen, of Bristol, gent 2
3974959 2015806 2015806 defendant Morgan Watkin chapman 648840 648840 Morgan, Watkin, of Cardyff, Glamorgan, chapman 3
3974960 2015806 2015806 defendant Herynge Julian grocer 586117 586117 Herynge, Julian, of Coventry, grocer 4
3974961 2015806 2015806 defendant Helley William chapman 664965 664965 Helley, William, of Maxfeld, Cheshire, chapman 5
3974962 2015806 2015806 defendant Smythe John tailor 586036 586036 Smythe, John, of Exeter, tailor 6
3974963 2015806 2015806 defendant Tanner John chapman 648840 648840 Tanner, John, of Cardyff, Glamorgan, chapman 7
3974964 2015806 2015806 defendant Purnell Thomas chapman 585925 585925 Purnell, Thomas, of Bristol, chapman 8

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 14.854ms