home / cp40x

names

6 rows where place_id = 789698

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4714668 2269918 2269918 defendant Ballard John shipman 789698 789698 Ballard, John, of Fowey, Cornwall, shipman 2
4854140 2312704 2312704 defendant Waterman John mariner 789698 789698 Waterman, John, of Fowey, Cornwall, mariner 1
5302181 2445611 2445611 defendant Sherreve Thomas mariner 789698 789698 Sherreve, Thomas, of Fowey, Cornwall, mariner 0
5302183 2445612 2445612 defendant Sherreve Thomas mariner 789698 789698 Sherreve, Thomas, of Fowey, Cornwall, mariner 0
5302185 2445613 2445613 defendant Sherreve Thomas mariner 789698 789698 Sherreve, Thomas, of Fowey, Cornwall, mariner 0
5302187 2445614 2445614 defendant Sherreve Thomas mariner 789698 789698 Sherreve, Thomas, of Fowey, Cornwall, mariner 0

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.551ms