home / cp40x

names

12 rows where case_id = 2008577

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3954302 2008577 2008577 plaintiff Lambarte John, senior esq   Lambarte, John, senior, esq 0
3954303 2008577 2008577 defendant Preston Christopher husbandman 659912 659912 Preston, Christopher, of Haunleth, husbandman 0
3954304 2008577 2008577 defendant Hill John husbandman 659912 659912 Hill, John, of Haunleth, husbandman 1
3954305 2008577 2008577 defendant Hill William husbandman 659912 659912 Hill, William, of Haunleth, husbandman 2
3954306 2008577 2008577 defendant Brasham John, junior husbandman 659912 659912 Brasham, John, junior, of Haunleth, husbandman 3
3954307 2008577 2008577 defendant Hurtlowe Thomas husbandman 659912 659912 Hurtlowe, Thomas, of Haunleth, husbandman 4
3954308 2008577 2008577 defendant Hyne Richard husbandman 659912 659912 Hyne, Richard, of Haunleth, husbandman 5
3954309 2008577 2008577 defendant Hurtlowe John husbandman 659912 659912 Hurtlowe, John, of Haunleth, husbandman 6
3954310 2008577 2008577 defendant Lawson Thomas husbandman 659912 659912 Lawson, Thomas, of Haunleth, husbandman 7
3954311 2008577 2008577 defendant Lawson Cuthbert husbandman 659912 659912 Lawson, Cuthbert, of Haunleth, husbandman 8
3954312 2008577 2008577 defendant Sertyantson John, junior husbandman 659912 659912 Sertyantson, John, junior, of Haunleth, husbandman 9
3954313 2008577 2008577 defendant Sertyantson Roger husbandman 659912 659912 Sertyantson, Roger, of Haunleth, husbandman 10

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 13.871ms