home / cp40x

names

5 rows where case_id = 2282469

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4756729 2282469 2282469 plaintiff Bery alias Bury Robert fishmonger 585869 585869 Bery alias Bury, Robert, of London, fishmonger 0
4756730 2282469 2282469 defendant Breom_ Ralph esq 685918 685918 Breom_, Ralph, of Rockingham, Nhants, esq 0
4756731 2282469 2282469 defendant Pye Thomas merchant 645236 645236 Pye, Thomas, of Grymmysby, Lincs, merchant 1
4756732 2282469 2282469 defendant Potte Adam fishmonger 609521 609521 Potte, Adam, of Stepney, Middx, fishmonger 2
4756733 2282469 2282469 defendant Pote John son of Adam, of Stepney, fishmonger   Pote, John, son of Adam, of Stepney, fishmonger 3

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.884ms