home / cp40x

names

8 rows where case_id = 2307438

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4836654 2307438 2307438 plaintiff Exeter   in   Exeter, prior of the house & church of St Nicholas, in 0
4836655 2307438 2307438 defendant Lygh Brian chaplain 586036 586036 Lygh, Brian, of Exeter, chaplain 0
4836656 2307438 2307438 defendant Carpenter John tanner 587118 587118 Carpenter, John, of Exilond, tanner 1
4836657 2307438 2307438 defendant Boryngton Richard tanner 587118 587118 Boryngton, Richard, of Exilond, tanner 2
4836658 2307438 2307438 defendant Poke John husbandman 586036 586036 Poke, John, of Exeter, husbandman 3
4836659 2307438 2307438 defendant Peff John husbandman 586036 586036 Peff, John, of Exeter, husbandman 4
4836660 2307438 2307438 defendant Tybot John tanner 810282 810282 Tybot, John, of Exilong, tanner 5
4836661 2307438 2307438 defendant Ellis servant of John Okenowe laborer 587118 587118 Ellis, servant of John Okenowe, of Exilond, 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.269ms