home / cp40x

names

8 rows where case_id = 1976146

✎ 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
3857986 1976146 1976146 plaintiff Beck Thomas yeoman 586085 586085 Beck, Thomas, of Welton, yeoman 0
3857987 1976146 1976146 plaintiff Bakon Robert yeoman 586085 586085 Bakon, Robert, of Welton, yeoman 1
3857988 1976146 1976146 plaintiff Fowle Robert yeoman 588489 588489 Fowle, Robert, of Melton, yeoman 2
3857989 1976146 1976146 defendant Sisson John   618129 618129 Sisson, John, of Lowth, Lincs, freemason 0
3857990 1976146 1976146 defendant Loghan Thomas vicar of Hessyll   Loghan, Thomas, vicar of Hessyll 1
3857991 1976146 1976146 defendant Taylour Peter yeoman 640865 640865 Taylour, Peter, of Hessyll, yeoman 2
3857992 1976146 1976146 defendant Haton Robert yeoman 640865 640865 Haton, Robert, of Hessyll, yeoman 3
3857993 1976146 1976146 defendant Wright Richard carpenter 640865 640865 Wright, Richard, of Hessyll, carpenter 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 15.503ms