home / cp40x

names

8 rows where case_id = 2215528

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4548673 2215528 2215528 plaintiff Cleye John draper 585869 585869 Cleye, John, of London, draper 0
4548674 2215528 2215528 defendant Bulbrok William clerk   Bulbrok, William, clerk 0
4548675 2215528 2215528 defendant Bernard Thomas   755245 755245 Bernard, Thomas, of Herefordshire 1
4548676 2215528 2215528 defendant Clopton William knight   Clopton, William, knight 2
4548677 2215528 2215528 defendant Denewell William   615552 615552 Denewell, William, of Devon 3
4548678 2215528 2215528 defendant Etton John   612968 612968 Etton, John, of Yorkshire, knight 4
4548679 2215528 2215528 defendant Giles John   590032 590032 Giles, John, of Kent 5
4548680 2215528 2215528 defendant Gerold John   590032 590032 Gerold, John, of Kent 6

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 6.001ms