home / cp40x

names

7 rows where case_id = 2260783

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4684600 2260783 2260783 plaintiff Pynchebek Thomas (legal representative)   Pynchebek, Thomas, executors of 0
4684601 2260783 2260783 plaintiff Everton William     (Everton, William 1
4684602 2260783 2260783 plaintiff Everton Margaret     Margaret, his wife 2
4684603 2260783 2260783 defendant Ferers Edmund husbandman 606953 606953 Ferers, Edmund, of Northampton, Nhants, husbandman 0
4684604 2260783 2260783 defendant Bromley Henry tiler 586459 586459 Bromley, Henry, of Stoke, tiler 1
4684605 2260783 2260783 defendant Bailly William husbandman 598314 598314 Bailly, William, of Whytley, husbandman 2
4684606 2260783 2260783 defendant Curwayn Thomas shoemaker 604869 604869 Curwayn, Thomas, of Coventre, shoemaker 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 14.866ms