home / cp40x

names

6 rows where case_id = 2500081

✎ 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
5483719 2500081 2500081 plaintiff Lok Thomas mercer 585869 585869 Lok, Thomas, of London, mercer 0
5483720 2500081 2500081 defendant Turges John esq 873433 873433 Turges, John, of Turges Melcombe, Dorset, esq 0
5483721 2500081 2500081 defendant Cansby or Causby Richard chapman 598952 598952 Cansby or Causby, Richard, of Ramsey, Hunts, chapman 1
5483722 2500081 2500081 defendant Peverell William, senior clothmaker 695684 695684 Peverell, William, senior, of Est Bergholte, Suff, clothmaker 2
5483723 2500081 2500081 defendant Austyn alias Peverell Thomas clothmaker 622825 622825 Austyn alias Peverell, Thomas, of Brantham, clothmaker 3
5483724 2500081 2500081 defendant Morys Thomas chapman 588101 588101 Morys, Thomas, of Weston, Hunts, chapman 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 14.007ms