home / cp40x

names

8 rows where case_id = 1992826

✎ 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
3907580 1992826 1992826 plaintiff Pateshalle Roger     Pateshalle, Roger 0
3907581 1992826 1992826 defendant Mores Philip husbandman 590059 590059 Mores, Philip, of Byford, husbandman 0
3907582 1992826 1992826 defendant Mores Lawrence laborer 590059 590059 Mores, Lawrence, of Byford, laborer 1
3907583 1992826 1992826 defendant Smyth John laborer 590059 590059 Smyth, John, of Byford, laborer 2
3907584 1992826 1992826 defendant Ap Ithell David laborer 590059 590059 Ap Ithell, David, of Byford, laborer 3
3907585 1992826 1992826 defendant Brown John chaplain 591081 591081 Brown, John, of Blakemere, chaplain 4
3907586 1992826 1992826 defendant Pressyons John laborer 590230 590230 Pressyons, John, of Monyngton, laborer 5
3907587 1992826 1992826 defendant ap Rees Lewis laborer 590059 590059 ap Rees, Lewis, of Byford, 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 15.538ms