home / cp40x

names

5 rows where case_id = 2468701

✎ 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
5378010 2468701 2468701 plaintiff Thomas John     Thomas, John 0
5378011 2468701 2468701 defendant Lane Robert graocer 585869 585869 Lane, Robert, of London, graocer 0
5378012 2468701 2468701 defendant Hauker William husbandman 637965 637965 Hauker, William, of North Flete, Kent, husbandman 1
5378013 2468701 2468701 defendant Davy Hugh   585869 585869 Davy, Hugh, of London, minstrel 2
5378014 2468701 2468701 defendant Baker John husbandman 594979 594979 Baker, John, of Gravesend, Kent, husbandman 3

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