home / cp40x

names

6 rows where case_id = 2133107

✎ 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
4308441 2133107 2133107 plaintiff Tybbey Thomas administrators of   Tybbey, Thomas, administrators of 0
4308442 2133107 2133107 plaintiff Barwick Roland gent attorney   (Barwick, Roland gent, attorney 1
4308443 2133107 2133107 defendant Bland John husbandman 692833 692833 Bland, John, of Worthen, Salop, husbandman 0
4308444 2133107 2133107 defendant Warte Edward husbandman 734210 734210 Warte, Edward, of Whitley, St Chadde, Salop, husbandman 1
4308445 2133107 2133107 defendant Parr John mercer 586036 586036 Parr, John, of Exeter, mercer 2
4308446 2133107 2133107 defendant Cromp Thomas yeoman 665094 665094 Cromp, Thomas, of Ludlow, Salop, yeoman 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 15.606ms