home / cp40x

names

7 rows where case_id = 2435444

✎ 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
5267020 2435444 2435444 plaintiff White John     White, John 0
5267021 2435444 2435444 defendant Percy Richard gent 585975 585975 Percy, Richard, of Shaftesbury, gent 0
5267022 2435444 2435444 defendant Catell John husbandman 866137 866137 Catell, John, of Kyngeston jyxta Byre, husbandman 1
5267023 2435444 2435444 defendant Baron John clerk 677678 677678 Baron, John, of Pokeswell, clerk 2
5267024 2435444 2435444 defendant Potell John yeoman 857508 857508 Potell, John, of Est Lulleworth, yeoman 3
5267025 2435444 2435444 defendant Canne Robert (legal representative)   Canne, Robert, executors of 4
5267026 2435444 2435444 defendant Holman Hugh yeoman 586865 586865 (Holman, Hugh, of Glastonbury, Soms, yeoman 5

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 24.25ms