home / cp40x

names

7 rows where case_id = 2462853

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5358964 2462853 2462853 plaintiff Preston Ambrose (legal representative) 585869 585869 Preston, Ambrose, of London, tallow chandler, executors of 0
5358965 2462853 2462853 plaintiff Ilger William     (Ilger, William 1
5358966 2462853 2462853 defendant Cornell Richard shipman 786319 786319 Cornell, Richard, of Reynham, Kent, shipman 0
5358967 2462853 2462853 defendant Rolff John   586360 586360 Rolff, John, of Chelmesford, Essex, tallow chandler 1
5358968 2462853 2462853 defendant Serson Richard clothmaker 591912 591912 Serson, Richard, of farnham, Surrey, clothmaker 2
5358969 2462853 2462853 defendant Benevyr John mercer 625664 625664 Benevyr, John, of Hastyng, Sussex, mercer 3
5358970 2462853 2462853 defendant Hands William of Sandwich Kent, tallow chandler   Hands, William of Sandwich, Kent, tallow chandler 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 16.07ms