home / cp40x

names

7 rows where case_id = 2424553

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5230561 2424553 2424553 plaintiff Barton Henry     Barton, Henry 0
5230562 2424553 2424553 defendant Shepe John husbandman 614983 614983 Shepe, John, of Carleby, husbandman 0
5230563 2424553 2424553 defendant Chipman John butcher 586696 586696 Chipman, John, of Staunford, butcher 1
5230564 2424553 2424553 defendant Wuston Robert barker 586696 586696 Wuston, Robert, of Staunford, barker 2
5230565 2424553 2424553 defendant Uston John husbandman 759650 759650 Uston, John, of Calyngton, husbandman 3
5230566 2424553 2424553 defendant Alawe William butcher 597050 597050 Alawe, William, of Gretford, butcher 4
5230567 2424553 2424553 defendant Bocher John butcher 809506 809506 Bocher, John, of Bernak, Nhants, 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 7.737ms