home / cp40x

names

6 rows where case_id = 2458617

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5345060 2458617 2458617 plaintiff Walter Richard   585869 585869 Walter, Richard, of London 0
5345061 2458617 2458617 defendant Gymbyr Thomas laborer 841856 841856 Gymbyr, Thomas, of Thorpe, Nhants, laborer 0
5345062 2458617 2458617 defendant Gymbyr John husbandman 875795 875795 Gymbyr, John, of Grofham, Nhants, husbandman 1
5345063 2458617 2458617 defendant Knyblys John baker 618742 618742 Knyblys, John, of Kyngesclyffe, Nhants, baker 2
5345064 2458617 2458617 defendant Twoll Nicholas husbandman 875796 875796 Twoll, Nicholas, of Estowe, Beds, husbandman 3
5345065 2458617 2458617 defendant Cardell Robert smith 875797 875797 Cardell, Robert, of Lylle, Herts, smith 4

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