home / cp40x

names

6 rows where case_id = 2437676

✎ 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
5274692 2437676 2437676 plaintiff Reygate Stephen   867347 867347 Reygate, Stephen, of St Martin in the Vintry, London 0
5274693 2437676 2437676 defendant Smyth William smith 813232 813232 Smyth, William, of East Grenestede, Sussex, smith 0
5274694 2437676 2437676 defendant Carllyll Richard gent 585869 585869 Carllyll, Richard, of London, gent 1
5274695 2437676 2437676 defendant Herberd John yeoman 608841 608841 Herberd, John, of East Grenewych, Kent, yeoman 2
5274696 2437676 2437676 defendant Chapman John baker 609805 609805 Chapman, John, of East Grenewych, baker 3
5274697 2437676 2437676 defendant Salkyn Robert yeoman 591355 591355 Salkyn, Robert, of Halsted, Essex, yeoman 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.08ms