home / cp40x

names

10 rows where case_id = 2008081

✎ 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
3952879 2008081 2008081 plaintiff Hourd Thomas esq   Hourd, Thomas, esq 0
3952880 2008081 2008081 defendant Everall William husbandman 659550 659550 Everall, William, of Stapelton, husbandman 0
3952881 2008081 2008081 defendant Lytlehale William laborer 591118 591118 Lytlehale, William, of Longdon, laborer 1
3952882 2008081 2008081 defendant Foxe Lancelot laborer 659551 659551 Foxe, Lancelot, of Poncebury, laborer 2
3952883 2008081 2008081 defendant Higgons Richard laborer 591118 591118 Higgons, Richard, of Longdon, laborer 3
3952884 2008081 2008081 defendant Mauncell Richard husbandman 591118 591118 Mauncell, Richard, of Longdon, husbandman 4
3952885 2008081 2008081 defendant Lytlehale Richard husbandman 591118 591118 Lytlehale, Richard, of Longdon, husbandman 5
3952886 2008081 2008081 defendant Peers George husbandman 632383 632383 Peers, George, of Okes, husbandman 6
3952887 2008081 2008081 defendant Corbett John husbandman 620634 620634 Corbett, John, of Wrentnall, husbandman 7
3952888 2008081 2008081 defendant Modlycott John husbandman 591118 591118 Modlycott, John, of Longdon, husbandman 8

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