home / cp40x

names

7 rows where case_id = 1919004

✎ 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
3677466 1919004 1919004 plaintiff Longe John notary   Longe, John, notary, executors of 0
3677467 1919004 1919004 plaintiff Barker alias Suff Christopher     (Barker alias Suff, Christopher 1
3677468 1919004 1919004 defendant Caffa Margaret widow 585869 585869 Caffa, Margaret, of London, widow 0
3677469 1919004 1919004 defendant van Asshe Dederick merchant 585869 585869 van Asshe, Dederick, of London, merchant 1
3677470 1919004 1919004 defendant Bromefeld Richard clerk 586208 586208 Bromefeld, Richard, of Hereford, clerk 2
3677471 1919004 1919004 defendant Waren Richard rector of Bramden, Suff   Waren, Richard, rector of Bramden, Suff 3
3677472 1919004 1919004 defendant Dune Humphrey gent 591581 591581 Dune, Humphrey, of Lambehith, Surrey, gent 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 19.373ms