home / cp40x

names

8 rows where case_id = 2354147

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4990797 2354147 2354147 plaintiff Chichele Henry formerly archbishop of Canterbury   Chichele, Henry, formerly archbishop of Canterbury, executors of 0
4990798 2354147 2354147 plaintiff Chichele Thomas   763298 763298 (Chichele, Thomas, of Canterbury, archdeacon 1
4990799 2354147 2354147 plaintiff Andreu Richard formerly archdeacon of Salisbury   Andreu, Richard, formerly archdeacon of Salisbury 2
4990800 2354147 2354147 plaintiff Byconyll William clerk   Byconyll, William, clerk 3
4990801 2354147 2354147 plaintiff Byrykhod John clerk   Byrykhod, John, clerk 4
4990802 2354147 2354147 plaintiff Danvers Robert     Danvers, Robert 5
4990803 2354147 2354147 plaintiff Balle William     Balle, William 6
4990804 2354147 2354147 defendant Weston Peter gent 831577 831577 Weston, Peter, of South Berghsted, gent 0

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