home / cp40x

names

6 rows where case_id = 2513388

✎ 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
5528227 2513388 2513388 plaintiff Mille John mercer 585869 585869 Mille, John, of London, mercer 0
5528228 2513388 2513388 defendant Thruston William chapman 591951 591951 Thruston, William, of Briggenorth, Salop, chapman 0
5528229 2513388 2513388 defendant Clyf Henry chapman 586036 586036 Clyf, Henry, of Exeter, chapman 1
5528230 2513388 2513388 defendant Bodyne Thomas butcher 588796 588796 Bodyne, Thomas, of Stenyng, Sussex, butcher 2
5528231 2513388 2513388 defendant Chapell William chapman 896649 896649 Chapell, William, of Suth Malton, Devon, chapman 3
5528232 2513388 2513388 defendant Crane John chapman 602195 602195 Crane, John, of Tewkesbury, Glos, 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 16.16ms