home / cp40x

names

8 rows where case_id = 2406217

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5167459 2406217 2406217 plaintiff Cormayle William (legal representative)   Cormayle, William, executors of 0
5167460 2406217 2406217 plaintiff Cormayle Agnes     (Cormayle, Agnes 1
5167461 2406217 2406217 plaintiff Chafyn John     Chafyn, John 2
5167462 2406217 2406217 defendant Avery John chapman 590410 590410 Avery, John, of Marleburgh, chapman 0
5167463 2406217 2406217 defendant Mermyn Richard chapman 590410 590410 Mermyn, Richard, of Marleburgh, chapman 1
5167464 2406217 2406217 defendant Childe John chapman 585972 585972 Childe, John, of Abyngdon, Berks, chapman 2
5167465 2406217 2406217 defendant Mertok John   802930 802930 Mertok, John, of Dycheyate 3
5167466 2406217 2406217 defendant Camvyle Nicholas of Castel Cary Soms, chapman   Camvyle, Nicholas of Castel Cary, Soms, chapman 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 14.365ms