home / cp40x

names

9 rows where case_id = 2489637

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5449163 2489637 2489637 plaintiff Middelton John, senior (legal representative) 585869 585869 Middelton, John, senior, of London, mercer, executors of 0
5449164 2489637 2489637 plaintiff Middelton Stephen     (Middelton, Stephen 1
5449165 2489637 2489637 plaintiff Middelton William son of John, senior   Middelton, William, son of John, senior 2
5449166 2489637 2489637 plaintiff Wal_ Gu     Wal_, Gu 3
5449167 2489637 2489637 plaintiff _ wife of John senior     _ wife of John, senior 4
5449168 2489637 2489637 defendant Morwode Robert mercer 586848 586848 Morwode, Robert, of Northampton, mercer 0
5449169 2489637 2489637 defendant Ferot Peter chapman 623178 623178 Ferot, Peter, of Sudbery, Suff, chapman 1
5449170 2489637 2489637 defendant Sawecer William mercer 888714 888714 Sawecer, William, of Colchester, Esex, mercer 2
5449171 2489637 2489637 defendant Bernard John mercer 596244 596244 Bernard, John, of Thaxstede, Essex, mercer 3

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