home / cp40x

names

7 rows where case_id = 2308546

✎ 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
4840433 2308546 2308546 plaintiff Holme Thomas grocer 585869 585869 Holme, Thomas, of London, grocer 0
4840434 2308546 2308546 plaintiff Gayton Robert grocer 585869 585869 Gayton, Robert, of London, grocer 1
4840435 2308546 2308546 defendant Shirwode John dyer 810875 810875 Shirwode, John, of Chipping Walden, Essex, dyer 0
4840436 2308546 2308546 defendant Innocent William potter 654978 654978 Innocent, William, of Leicester, Leics, potter 1
4840437 2308546 2308546 defendant Knyght Henry dyer 714850 714850 Knyght, Henry, of Guildford, Surrey, dyer 2
4840438 2308546 2308546 defendant Jones Philip carrier 780959 780959 Jones, Philip, of Hereford, Herefs, carrier 3
4840439 2308546 2308546 defendant Ewyas John mercer 586208 586208 Ewyas, John, of Hereford, mercer 4

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