home / cp40x

names

7 rows where case_id = 2420021

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5214676 2420021 2420021 plaintiff Byxle Henry     Byxle, Henry 0
5214677 2420021 2420021 defendant Brook Thomas pulter 629573 629573 Brook, Thomas, of St Giles in the Fields, Middx, pulter 0
5214678 2420021 2420021 defendant Ode John scrivener 587414 587414 Ode, John, of Thetford, scrivener 1
5214679 2420021 2420021 defendant Myte Edmund shoemaker 587414 587414 Myte, Edmund, of Thetford, shoemaker 2
5214680 2420021 2420021 defendant Cappe John clerk 835963 835963 Cappe, John, of Ikburgh, clerk 3
5214681 2420021 2420021 defendant Jelyon Thomas weaver 587414 587414 Jelyon, Thomas, of Thetford, weaver 4
5214682 2420021 2420021 defendant Lumberd Edmund glover 587414 587414 Lumberd, Edmund, of Thetford, glover 5

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