home / cp40x

names

6 rows where case_id = 2008127

✎ 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
3953031 2008127 2008127 plaintiff Hudson John grocer 585869 585869 Hudson, John, of London, grocer 0
3953032 2008127 2008127 defendant Aldrede Bennet chapman 586134 586134 Aldrede, Bennet, of Ipswich, chapman 0
3953033 2008127 2008127 defendant Huggons William gent 659582 659582 Huggons, William, of Hampton, Surrey, gent 1
3953034 2008127 2008127 defendant Barrett William chapman 586470 586470 Barrett, William, of Colchester, chapman 2
3953035 2008127 2008127 defendant Starrye William chapman 659583 659583 Starrye, William, of Barmondsey, Surrey, chapman 3
3953036 2008127 2008127 defendant Cramys Robert chapman 609597 609597 Cramys, Robert, of Dunmowe, Essex, 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 15.342ms