home / cp40x

names

7 rows where case_id = 2475516

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5401558 2475516 2475516 plaintiff Herenden John gent 650142 650142 Herenden, John, of Staplehurst, gent 0
5401559 2475516 2475516 plaintiff Grene Richard     Grene, Richard 1
5401560 2475516 2475516 plaintiff Ward Richard   588182 588182 Ward, Richard, of Stapilherst, 2
5401561 2475516 2475516 defendant Skawe John clerk 602905 602905 Skawe, John, of Fyncham, Norf, clerk 0
5401562 2475516 2475516 defendant Kyn Nicholas husbandman 885142 885142 Kyn, Nicholas, of Fyncham St Michael, Norf, husbandman 1
5401563 2475516 2475516 defendant Leke Edward husbandman 883547 883547 Leke, Edward, of Fyncham St Michael, husbandman 2
5401564 2475516 2475516 defendant Clerk John tailor 883548 883548 Clerk, John, of St Michael Fincham, tailor 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 7.67ms