home / cp40x

names

6 rows where case_id = 2404682

✎ 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
5162227 2404682 2404682 plaintiff Trevylsyn Thomas chaplain   Trevylsyn, Thomas, chaplain 0
5162228 2404682 2404682 defendant Strenger William chapman 731816 731816 Strenger, William, of Newport Pagnell, Bucks, chapman 0
5162229 2404682 2404682 defendant Graunt John husbandman 854872 854872 Graunt, John, of Wolston, Bucks, husbandman 1
5162230 2404682 2404682 defendant Pagat John husbandman 586062 586062 Pagat, John, of Mulso, Bucks, husbandman 2
5162231 2404682 2404682 defendant Leche William husbandman 854872 854872 Leche, William, of Wolston, Bucks, husbandman 3
5162232 2404682 2404682 defendant Deyster Robert butcher 655167 655167 Deyster, Robert, of Newport Pagnell, butcher 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 15.378ms