home / cp40x

names

5 rows where case_id = 1874241

✎ 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
3621427 1874241 1874241 plaintiff Neuport William     Neuport, William 0
3621428 1874241 1874241 defendant Causton Thomas yeoman 590972 590972 Causton, Thomas, of Tyllyngham, yeoman 0
3621429 1874241 1874241 defendant Maunche Robert yeoman 590972 590972 Maunche, Robert, of Tyllyngham, yeoman 1
3621430 1874241 1874241 defendant Baldwyn John yeoman 588948 588948 Baldwyn, John, of Brendwode, yeoman 2
3621431 1874241 1874241 defendant Notte William yeoman 595674 595674 Notte, William, of Gray Thurrok, yeoman 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 16.492ms