home / cp40x

names

8 rows where case_id = 1874182

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3621233 1874182 1874182 plaintiff Morton Richard     Morton, Richard 0
3621234 1874182 1874182 defendant Morton Thomas husbandman 595627 595627 Morton, Thomas, of Copmanthorp, husbandman 0
3621235 1874182 1874182 defendant Morton William husbandman 595627 595627 Morton, William, of Copmanthorp, husbandman 1
3621236 1874182 1874182 defendant Hillom Richard laborer 595627 595627 Hillom, Richard, of Copmanthorp, laborer 2
3621237 1874182 1874182 defendant Copestake Thomas husbandman 595627 595627 Copestake, Thomas, of Copmanthorp, husbandman 3
3621238 1874182 1874182 defendant Pykard William husbandman 595627 595627 Pykard, William, of Copmanthorp, husbandman 4
3621239 1874182 1874182 defendant Wilde Thomas laborer 595628 595628 Wilde, Thomas, of Appulton, laborer 5
3621240 1874182 1874182 defendant Spenser Christopher laborer 595628 595628 Spenser, Christopher, of Appulton, laborer 6

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 17.682ms