home / cp40x

names

8 rows where case_id = 2243214

✎ 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
4640042 2243214 2243214 plaintiff Davy John (legal representative) 585869 585869 Davy, John, of London, draper, executors of 0
4640043 2243214 2243214 plaintiff Bamburgh Robert draper 585869 585869 (Bamburgh, Robert, of London, draper 1
4640044 2243214 2243214 plaintiff Glemesford Geoffrey draper 585869 585869 Glemesford, Geoffrey, of London, draper 2
4640045 2243214 2243214 defendant Hastynges Richard   586067 586067 Hastynges, Richard, of York, knight, formerly esquire 0
4640046 2243214 2243214 defendant Sutton John esq 689060 689060 Sutton, John, of Lincolnshire, esq 1
4640047 2243214 2243214 defendant Laurence William esq 669048 669048 Laurence, William, of Lancashire, esq 2
4640048 2243214 2243214 defendant Enes Ralph son of Thomas, of Lancashire   Enes, Ralph, son of Thomas, of Lancashire 3
4640049 2243214 2243214 defendant Skipwith Patrick   689060 689060 Skipwith, Patrick, of Lincolnshire 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 19.669ms