home / cp40x

names

6 rows where case_id = 2000008

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3928908 2000008 2000008 plaintiff Broke Hugh (legal representative) 585869 585869 Broke, Hugh, of London, gent, administrator of 0
3928909 2000008 2000008 plaintiff Warde John   592583 592583 Warde, John, of Denham, Bucks 1
3928910 2000008 2000008 defendant Broke Henry esq 653531 653531 Broke, Henry, of Wrynhyll, Staffs, esq 0
3928911 2000008 2000008 defendant Lyon John gent 653532 653532 Lyon, John, of Lytlington, Beds, gent 1
3928912 2000008 2000008 defendant ap Hoell Hugh gent 585869 585869 ap Hoell, Hugh, of London, gent 2
3928913 2000008 2000008 defendant Watson George yeoman 585869 585869 Watson, George, of London, yeoman 3

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.399ms