home / cp40x

names

7 rows where case_id = 2459481

✎ 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
5347881 2459481 2459481 plaintiff Bokette William merchant 586859 586859 Bokette, William, of Salisbury, merchant 0
5347882 2459481 2459481 defendant White Thomas baker 708011 708011 White, Thomas, of Lyme, Soms, baker 0
5347883 2459481 2459481 defendant Kynge John tanner 627862 627862 Kynge, John, of Banwell, Soms, tanner 1
5347884 2459481 2459481 defendant Hameldon John chapman 592956 592956 Hameldon, John, of Bruton, Soms, chapman 2
5347885 2459481 2459481 defendant Wylston William chapman 589545 589545 Wylston, William, of Banwell, chapman 3
5347886 2459481 2459481 defendant Wheler John clothier 589140 589140 Wheler, John, of Briggewater, Soms, clothier 4
5347887 2459481 2459481 defendant Cokkys Robert clothier 585996 585996 Cokkys, Robert, of Briggewater, clothier 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.407ms