home / cp40x

names

8 rows where case_id = 1920319

✎ 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
3681549 1920319 1920319 plaintiff Smyth Margery widow   Smyth, Margery, widow 0
3681550 1920319 1920319 plaintiff Bele John     Bele, John 1
3681551 1920319 1920319 defendant Newnton Thomas husbandman 609152 609152 Newnton, Thomas, of Marsshe, husbandman 0
3681552 1920319 1920319 defendant Tomkyns John husbandman 609152 609152 Tomkyns, John, of Marsshe, husbandman 1
3681553 1920319 1920319 defendant Smyth Thomas husbandman 609152 609152 Smyth, Thomas, of Marsshe, husbandman 2
3681554 1920319 1920319 defendant Mason Henry husbandman 609152 609152 Mason, Henry, of Marsshe, husbandman 3
3681555 1920319 1920319 defendant Cottysford William husbandman 609152 609152 Cottysford, William, of Marsshe, husbandman 4
3681556 1920319 1920319 defendant Nele Thomas husbandman 609152 609152 Nele, Thomas, of Marsshe, husbandman 5

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