home / cp40x

names

8 rows where case_id = 2439645

✎ 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
5281450 2439645 2439645 plaintiff Cook John draper   Cook, John, draper 0
5281451 2439645 2439645 defendant Brampton Thomas, senior esq 586233 586233 Brampton, Thomas, senior, of Attylburgh, esq 0
5281452 2439645 2439645 defendant Stevenson William yeoman 608645 608645 Stevenson, William, of Dekylburgh, yeoman 1
5281453 2439645 2439645 defendant Simonlyng John yeoman 587604 587604 Simonlyng, John, of Warham, yeoman 2
5281454 2439645 2439645 defendant Robardes John yeoman 592861 592861 Robardes, John, of Hylderston, yeoman 3
5281455 2439645 2439645 defendant Fencer John yeoman 586471 586471 Fencer, John, of Aylesham, yeoman 4
5281456 2439645 2439645 defendant Stronde James yeoman 600139 600139 Stronde, James, of Toft Monks, yeoman 5
5281457 2439645 2439645 defendant Hargyll Roland gent 592800 592800 Hargyll, Roland, of Akenham, Suff, gent 6

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