home / cp40x

names

8 rows where case_id = 2345501

✎ 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
4961862 2345501 2345501 plaintiff Boys John (legal representative) 827834 827834 Boys, John, of Wellingor, esq, executors of 0
4961863 2345501 2345501 plaintiff Makeworth John     (Makeworth, John 1
4961864 2345501 2345501 plaintiff Berkeleye Lawrence knight   Berkeleye, Lawrence, knight 2
4961865 2345501 2345501 plaintiff Mers Thomas esq   Mers, Thomas, esq 3
4961866 2345501 2345501 plaintiff Waslyn Robert esq   Waslyn, Robert, esq 4
4961867 2345501 2345501 defendant Beswyk John glover 586846 586846 Beswyk, John, of Lincoln, glover 0
4961868 2345501 2345501 defendant Bowland Thomas glover 586846 586846 Bowland, Thomas, of Lincoln, glover 1
4961869 2345501 2345501 defendant Hawker John clerk 767554 767554 Hawker, John, of Greyngham, clerk 2

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