home / cp40x

names

6 rows where case_id = 2327085

✎ 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
4901539 2327085 2327085 plaintiff Flemyn John mercer   Flemyn, John, mercer 0
4901540 2327085 2327085 defendant Turpyn John landman 819347 819347 Turpyn, John, of Brydcombe, landman 0
4901541 2327085 2327085 defendant William Thomas carpenter 592545 592545 William, Thomas, of Basyngstoke, Hants, carpenter 1
4901542 2327085 2327085 defendant Smyth Richard smith 819348 819348 Smyth, Richard, of Cold Waltham, Hants, smith 2
4901543 2327085 2327085 defendant Shadde Thomas landman 819349 819349 Shadde, Thomas, of Asshe, Hants, landman 3
4901544 2327085 2327085 defendant Bryt John landman 819350 819350 Bryt, John, of Hurseborne Tarent, Hants, landman 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 16.085ms