home / cp40x

names

9 rows where case_id = 2301512

✎ 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
4817340 2301512 2301512 plaintiff Middelton Robert (legal representative)   Middelton, Robert, executors of 0
4817341 2301512 2301512 plaintiff Parker William chaplain   (Parker, William, chaplain 1
4817342 2301512 2301512 plaintiff Baker Thomas chaplain   Baker, Thomas, chaplain 2
4817343 2301512 2301512 plaintiff Elmeley Thomas     Elmeley, Thomas 3
4817344 2301512 2301512 defendant Danyel John husbandman 593193 593193 Danyel, John, of Braunton, husbandman 0
4817345 2301512 2301512 defendant Fayrelynche Thomas husbandman 593193 593193 Fayrelynche, Thomas, of Braunton, husbandman 1
4817346 2301512 2301512 defendant Sturlogge Philip husbandman 613126 613126 Sturlogge, Philip, of Santon, husbandman 2
4817347 2301512 2301512 defendant Hordon Thomas husbandman 594740 594740 Hordon, Thomas, of Wynsham, husbandman 3
4817348 2301512 2301512 defendant Cole John, senior merchant 601965 601965 Cole, John, senior, of Barnastaple, merchant 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 14.888ms