home / cp40x

names

8 rows where case_id = 2041926

✎ 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
4048530 2041926 2041926 plaintiff Cole Thomas grocer 585869 585869 Thomas Cole, of London, grocer, executrix of 0
4048531 2041926 2041926 plaintiff Cole Elizabeth widow   Cole, Elizabeth, widow 1
4048532 2041926 2041926 defendant Husband John chapman 677643 677643 Husband, John, of Tregonye, Cornw, chapman 0
4048533 2041926 2041926 defendant Webster William chapman 669657 669657 Webster, William, of Uppingham, Rutland, chapman 1
4048534 2041926 2041926 defendant Grome John husbandman 682197 682197 Grome, John, of Redlington, Rutland, husbandman 2
4048535 2041926 2041926 defendant Penhillock Alexander chapman 677644 677644 Penhillock, Alexander, of Helston, Cornw, chapman 3
4048536 2041926 2041926 defendant Walker Robert chapman 586079 586079 Walker, Robert, of Bedford, chapman 4
4048537 2041926 2041926 defendant Thorpe Adam mercer 682198 682198 Thorpe, Adam, of Sony Stratford, Bucks, mercer 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 8.855ms