home / cp40x

names

7 rows where case_id = 2472598

✎ 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
5391316 2472598 2472598 plaintiff Peke Andrew   585936 585936 Peke, Andrew, of Norwich, on his own account 0
5391317 2472598 2472598 defendant Pygon Thomas husbandman 589679 589679 Pygon, Thomas, of Knapton, husbandman 0
5391318 2472598 2472598 defendant Aleyn Nicholas husbandman 587672 587672 Aleyn, Nicholas, of Horsted, husbandman 1
5391319 2472598 2472598 defendant Leem John husbandman 590255 590255 Leem, John, of East Ryston, husbandman 2
5391320 2472598 2472598 defendant Barker Henry husbandman 602141 602141 Barker, Henry, of Banyngham, husbandman 3
5391321 2472598 2472598 defendant Gerard Thomas husbandman 597541 597541 Gerard, Thomas, of Heynford, husbandman 4
5391322 2472598 2472598 defendant Roode Thomas butcher 606087 606087 Roode, Thomas, of Suffeld, butcher 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.633ms