home / cp40x

names

7 rows where case_id = 2115337

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4257067 2115337 2115337 plaintiff Lowes Richard     Lowes, Richard 0
4257068 2115337 2115337 defendant Browne Valentine esq 586948 586948 Browne, Valentine, of Crofte, esq 0
4257069 2115337 2115337 defendant Dalton Martin yeoman 586948 586948 Dalton, Martin, of Crofte, yeoman 1
4257070 2115337 2115337 defendant Franckland Thomas yeoman 588397 588397 Franckland, Thomas, of Thorpe, yeoman 2
4257071 2115337 2115337 defendant Smyth Nihcolas of Halton yeoman   Smyth, Nihcolas of Halton, yeoman 3
4257072 2115337 2115337 defendant Baker Richard yeoman 697814 697814 Baker, Richard, of Fursney, yeoman 4
4257073 2115337 2115337 defendant Boughe William yeoman 586948 586948 Boughe, William, of Crofte, 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 12.778ms