home / cp40x

names

7 rows where case_id = 2405796

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5165986 2405796 2405796 plaintiff Broughton John sheriff of Bedford   Broughton, John, sheriff of Bedford 0
5165987 2405796 2405796 defendant Boynon John laborer 600260 600260 Boynon, John, of Eyton, laborer 0
5165988 2405796 2405796 defendant Boynon Roger tailor 662433 662433 Boynon, Roger, of Stanbridge, tailor 1
5165989 2405796 2405796 defendant Hacsalte John carpenter 662433 662433 Hacsalte, John, of Stanbridge, carpenter 2
5165990 2405796 2405796 defendant Savage Richard husbandman 766173 766173 Savage, Richard, of Leighton Buzzard, husbandman 3
5165991 2405796 2405796 defendant Gaddesden Henry yeoman 766173 766173 Gaddesden, Henry, of Leighton Buzzard, yeoman 4
5165992 2405796 2405796 defendant Bray John   611105 611105 Bray, John, of Chalton, servant 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 19.756ms