home / cp40x

names

6 rows where case_id = 2507839

✎ 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
5509609 2507839 2507839 plaintiff Gardyner William grocer 585869 585869 Gardyner, William, of London, grocer 0
5509610 2507839 2507839 defendant Benet Thomas chapman 610835 610835 Benet, Thomas, of Bokyngham, Bucks, chapman 0
5509611 2507839 2507839 defendant Togwell John chapman 894782 894782 Togwell, John, of Berporte, Dorset, chapman 1
5509612 2507839 2507839 defendant Rewe John spicer 609990 609990 Rewe, John, of Teverton, Devon, spicer 2
5509613 2507839 2507839 defendant Mannyng Thomas chapman 595782 595782 Mannyng, Thomas, of Dorkyng, Surrey, chapman 3
5509614 2507839 2507839 defendant Edley Robert chapman 597920 597920 Edley, Robert, of Sele, Kent, chapman 4

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