home / cp40x

names

6 rows where case_id = 2475865

✎ 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
5402752 2475865 2475865 plaintiff Leycetre Richard   789956 789956 Leycetre, Richard, of Oseney, abbot of the Monastery of the BM 0
5402753 2475865 2475865 defendant Woodville Lionel clerk 883720 883720 Woodville, Lionel, of Salisbury, Bishop & formelry of Oxford, clerk 0
5402754 2475865 2475865 defendant Salter Richard clerk 585970 585970 Salter, Richard, of Oxford, clerk 1
5402755 2475865 2475865 defendant Wardon Richard draper & burgess 585970 585970 Wardon, Richard, of Oxford, draper & burgess 2
5402756 2475865 2475865 defendant Wrixham William clerk 585970 585970 Wrixham, William, of Oxford, clerk 3
5402757 2475865 2475865 defendant Sumpner Oliver clerk 585970 585970 Sumpner, Oliver, of Oxford, clerk 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 13.288ms