home / cp40x

names

7 rows where case_id = 2345556

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4962035 2345556 2345556 plaintiff Braytoft John (legal representative) 586117 586117 Braytoft, John, of Coventry, mercer, executor of 0
4962036 2345556 2345556 plaintiff Braytoft William     Braytoft, William 1
4962037 2345556 2345556 defendant Kendale Peter mercer 586846 586846 Kendale, Peter, of Lincoln, mercer 0
4962038 2345556 2345556 defendant Coteler Thomas chapman 597902 597902 Coteler, Thomas, of Horncastell, Lincs, chapman 1
4962039 2345556 2345556 defendant Coteler Nicholas mercer 827852 827852 Coteler, Nicholas, of Spylsby, Lincs, mercer 2
4962040 2345556 2345556 defendant Chapman Adam chapman 603519 603519 Chapman, Adam, of Folkyngham, Lincs, chapman 3
4962041 2345556 2345556 defendant Glover Thomas chapman 827853 827853 Glover, Thomas, of Boughton jucta Horncastell, 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 14.196ms