home / cp40x

names

5 rows where case_id = 2368009

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5038038 2368009 2368009 plaintiff Wymbyssh Stephen     Wymbyssh, Stephen 0
5038039 2368009 2368009 defendant Playford John husbandman 607631 607631 Playford, John, of Brekenham, husbandman 0
5038040 2368009 2368009 defendant Ramsey William husbandman 591626 591626 Ramsey, William, of Geddyng, husbandman 1
5038041 2368009 2368009 defendant Hoode Thomas, junior husbandman 597864 597864 Hoode, Thomas, junior, of Felsham, husbandman 2
5038042 2368009 2368009 defendant Furneys Nicholas husbandman 804949 804949 Furneys, Nicholas, of Ratelysden, husbandman 3

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.222ms