home / cp40x

names

6 rows where case_id = 2443099

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5293621 2443099 2443099 plaintiff Smalley Richard     Smalley, Richard 0
5293622 2443099 2443099 defendant Skelyngton John husbandman 869549 869549 Skelyngton, John, of Anlastyr, husbandman 0
5293623 2443099 2443099 defendant Chapman Richard chaplain 606762 606762 Chapman, Richard, of Baston, chaplain 1
5293624 2443099 2443099 defendant Sherman Thomas laborer 607716 607716 Sherman, Thomas, of Corby, laborer 2
5293625 2443099 2443099 defendant Horton William laborer 674467 674467 Horton, William, of Humby, laborer 3
5293626 2443099 2443099 defendant Hottope William husbandman 604401 604401 Hottope, William, of Gunwardby, 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 13.879ms