home / cp40x

names

7 rows where case_id = 2188341

✎ 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
4460477 2188341 2188341 plaintiff Sibille Walter   759289 759289 Sibille, Walter, of London stock fishmonger 0
4460478 2188341 2188341 defendant Porter John   590437 590437 Porter, John, of Dorchester, Oxon 0
4460479 2188341 2188341 defendant Rat Richard   759290 759290 Rat, Richard, of Henle, Oxon 1
4460480 2188341 2188341 defendant Donoepe John   753502 753502 Donoepe, John, of Henle, senior 2
4460481 2188341 2188341 defendant Maddele Richard   753502 753502 Maddele, Richard, of Henle 3
4460482 2188341 2188341 defendant Char John   759292 759292 Char, John, of Shelyngford, Oxon 4
4460483 2188341 2188341 defendant Beynyn John   753502 753502 Beynyn, John, of Henle 5

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