home / cp40x

names

8 rows where case_id = 2447575

✎ 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
5308487 2447575 2447575 plaintiff Scrop Stephen esq   Scrop, Stephen, esq, executors of 0
5308488 2447575 2447575 plaintiff Scrop Richard esq   (Scrop, Richard, esq 1
5308489 2447575 2447575 plaintiff Wellys John   677046 677046 Wellys, John, of Castle Combe, parson of the church 2
5308490 2447575 2447575 plaintiff Doget Roger chaplain   Doget, Roger, chaplain 3
5308491 2447575 2447575 plaintiff Knolles John chaplain   Knolles, John, chaplain 4
5308492 2447575 2447575 plaintiff Lyn William     Lyn, William 5
5308493 2447575 2447575 defendant Durward William esq 596050 596050 Durward, William, of Coggeshale, Essex, esq 0
5308494 2447575 2447575 defendant Durward John   586656 586656 Durward, John, of Coggeshale, gent, son of William Durward 1

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 5.774ms