home / cp40x

names

6 rows where case_id = 1918663

✎ 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
3676394 1918663 1918663 plaintiff James Agnes widow   James, Agnes, widow 0
3676395 1918663 1918663 defendant Palmer Richard gent 585869 585869 Palmer, Richard, of London, gent 0
3676396 1918663 1918663 defendant Hawes Thomas gent 608983 608983 Hawes, Thomas, of Selfhyll, gent 1
3676397 1918663 1918663 defendant Roos John husbandman 608984 608984 Roos, John, of Ilmyngton, husbandman 2
3676398 1918663 1918663 defendant Tynell William husbandman 608985 608985 Tynell, William, of Morton Merell, husbandman 3
3676399 1918663 1918663 defendant Tynner John husbandman 608985 608985 Tynner, John, of Morton Merell, husbandman 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 12.404ms