home / cp40x

names

6 rows where case_id = 2406673

✎ 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
5169026 2406673 2406673 plaintiff Fray Thomas   585869 585869 Fray, Thomas, of London 0
5169027 2406673 2406673 defendant Baron John gent 800875 800875 Baron, John, of Beccles, Suffolk, gent 0
5169028 2406673 2406673 defendant Chudley John gent 585869 585869 Chudley, John, of London, gent 1
5169029 2406673 2406673 defendant Benet Agnes widow 585925 585925 Benet, Agnes, of Bristol, widow 2
5169030 2406673 2406673 defendant Burre John chapman 601889 601889 Burre, John, of Ipswich, Suff, chapman 3
5169031 2406673 2406673 defendant Wormegaye Thomas chapman 598258 598258 Wormegaye, Thomas, of Bury St Edmunds, Suff, chapman 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 7.442ms