home / cp40x

names

6 rows where case_id = 1962157

✎ 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
3813549 1962157 1962157 plaintiff Elmesley William     Elmesley, William 0
3813550 1962157 1962157 defendant Chapman Thomas husbandman 633573 633573 Chapman, Thomas, of North Wellbassett, Essex, husbandman 0
3813551 1962157 1962157 defendant Salmon William husbandman 633574 633574 Salmon, William, of Luffenall, husbandman 1
3813552 1962157 1962157 defendant Barfote John laborer 630777 630777 Barfote, John, of Brantfeld, laborer 2
3813553 1962157 1962157 defendant Stele John glover 586172 586172 Stele, John, of Hertford, glover 3
3813554 1962157 1962157 defendant Humberston Richard husbandman 586386 586386 Humberston, Richard, of Weston, 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 7.493ms