home / cp40x

names

6 rows where case_id = 2508960

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5513124 2508960 2508960 plaintiff Nevyll Henry ironmonger 585869 585869 Nevyll, Henry, of London, ironmonger 0
5513125 2508960 2508960 defendant Dene John chapman 895143 895143 Dene, John, of Peytowe, Suff, chapman 0
5513126 2508960 2508960 defendant Turnour William smith 895144 895144 Turnour, William, of Merdeyn, smith 1
5513127 2508960 2508960 defendant Couper John smith 589335 589335 Couper, John, of Bersted, smith 2
5513128 2508960 2508960 defendant Ketyll John carpenter 602212 602212 Ketyll, John, of Shoreham, carpenter 3
5513129 2508960 2508960 defendant Hamond John yeoman 591057 591057 Hamond, John, of Crambroke, yeoman 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.66ms