home / cp40x

names

7 rows where case_id = 2397964

✎ 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
5139221 2397964 2397964 plaintiff Sheen John prior of the House of Jesus of Bethlehem, in   Sheen, John, prior of the House of Jesus of Bethlehem, in 0
5139222 2397964 2397964 defendant Burton John fisher 851857 851857 Burton, John, of Chiswick, Middx, fisher 0
5139223 2397964 2397964 defendant Sawer Thomas fisher 588989 588989 Sawer, Thomas, of Hamersmyth, Middx, fisher 1
5139224 2397964 2397964 defendant Adam John fisher 851858 851858 Adam, John, of Chiswick, fisher 2
5139225 2397964 2397964 defendant Thorp Thomas fisher 824359 824359 Thorp, Thomas, of Chesewyk, Middx, fisher 3
5139226 2397964 2397964 defendant Gengyn William fisher 851859 851859 Gengyn, William, of Pet--, fisher 4
5139227 2397964 2397964 defendant London Thomas, junior fisher 809545 809545 London, Thomas, junior, of Mortelake, fisher 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 15.801ms