home / cp40x

names

8 rows where case_id = 2272697

✎ 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
4723633 2272697 2272697 plaintiff Dogge John     Dogge, John 0
4723634 2272697 2272697 defendant Story Thomas   586368 586368 Story, Thomas, of Taunton, brass worker 0
4723635 2272697 2272697 defendant Hayne Walter husbandman 586373 586373 Hayne, Walter, of Yevell, husbandman 1
4723636 2272697 2272697 defendant Jaye Walter draper 586373 586373 Jaye, Walter, of Yevell, draper 2
4723637 2272697 2272697 defendant Kyng William weaver 586373 586373 Kyng, William, of Yevell, weaver 3
4723638 2272697 2272697 defendant Elworthe John chapman 585996 585996 Elworthe, John, of Briggewater, chapman 4
4723639 2272697 2272697 defendant Brasyetter John brewer 624220 624220 Brasyetter, John, of Crukern, brewer 5
4723640 2272697 2272697 defendant Corset John   791376 791376 Corset, John, of Wyke by Lamport, shepherd 6

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