home / cp40x

names

5 rows where case_id = 2530003

✎ 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
5583780 2530003 2530003 plaintiff Gilliot John knight   Gilliot, John, knight 0
5583781 2530003 2530003 defendant Withes Thomas yeoman 767482 767482 Withes, Thomas, of Thornburgh, yeoman 0
5583782 2530003 2530003 defendant Bynkes Richard yeoman 703061 703061 Bynkes, Richard, of Kirk Hamerton, yeoman 1
5583783 2530003 2530003 defendant Kytchyn Robert chapman 607896 607896 Kytchyn, Robert, of Skipton, Craven, chapman 2
5583784 2530003 2530003 defendant Malhom Robert chapman 612342 612342 Malhom, Robert, of Skipton, chapman 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 11.332ms