home / cp40x

names

7 rows where case_id = 2381971

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5084840 2381971 2381971 plaintiff Glynne John     Glynne, John 0
5084841 2381971 2381971 defendant Tomma Richard mariner 616900 616900 Tomma, Richard, of Est Lo, mariner 0
5084842 2381971 2381971 defendant Beare Peter husbandman 844566 844566 Beare, Peter, of Legham, Devon, husbandman 1
5084843 2381971 2381971 defendant Welet Thomas husbandman 643491 643491 Welet, Thomas, of Lanteglos, husbandman 2
5084844 2381971 2381971 defendant Carkyke Stephen husbandman 844567 844567 Carkyke, Stephen, of Trethake, St Clere, husbandman 3
5084845 2381971 2381971 defendant Walke Thomas husbandman 844568 844568 Walke, Thomas, of Fentennauren, husbandman 4
5084846 2381971 2381971 defendant Trote Thomas husbandman 587114 587114 Trote, Thomas, of Bodmyn, husbandman 5

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