home / cp40x

names

6 rows where case_id = 2293783

✎ 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
4792625 2293783 2293783 plaintiff Monkehous John (legal representative)   Monkehous, John, executor of 0
4792626 2293783 2293783 plaintiff Blakhall Alexander     Blakhall, Alexander 1
4792627 2293783 2293783 defendant Mesand John yeoman 802968 802968 Mesand, John, of Tirrell, Westmor, yeoman 0
4792628 2293783 2293783 defendant Arnaldson John yeoman 802969 802969 Arnaldson, John, of Helton Fleghen, Westmor, yeoman 1
4792629 2293783 2293783 defendant Canon Robert yeoman 802970 802970 Canon, Robert, of Hoton in Forest, yeoman 2
4792630 2293783 2293783 defendant Mortymer John yeoman 654046 654046 Mortymer, John, of Dalston, yeoman 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.124ms