home / cp40x

names

6 rows where case_id = 2422582

✎ 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
5223574 2422582 2422582 plaintiff Overton William     Overton, William 0
5223575 2422582 2422582 defendant Danyell John   587074 587074 Danyell, John, of Donyngton, salt weller 0
5223576 2422582 2422582 defendant Bocher alias Cowethorn Thomas butcher 589593 589593 Bocher alias Cowethorn, Thomas, of Swyneshed, butcher 1
5223577 2422582 2422582 defendant Quykerell Thomas husbandman 587074 587074 Quykerell, Thomas, of Donyngton, husbandman 2
5223578 2422582 2422582 defendant Bocher William butcher 756733 756733 Bocher, William, of Kirketon in Holand, butcher 3
5223579 2422582 2422582 defendant Fen William butcher 586286 586286 Fen, William, of Boston, butcher 4

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