home / cp40x

names

7 rows where case_id = 2339383

✎ 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
4941568 2339383 2339383 plaintiff Etton Robert     Etton, Robert 0
4941569 2339383 2339383 defendant Dalby John husbandman 597124 597124 Dalby, John, of Waynflete, husbandman 0
4941570 2339383 2339383 defendant Fyn William   825211 825211 Fyn, William, of Leeke, swanherd 1
4941571 2339383 2339383 defendant Asshe John husbandman 825212 825212 Asshe, John, of Sausethorp, husbandman 2
4941572 2339383 2339383 defendant Hudson Richard fisher 606682 606682 Hudson, Richard, of Waynflet, fisher 3
4941573 2339383 2339383 defendant Rydder of Croft husbandman   Rydder, of Croft, husbandman 4
4941574 2339383 2339383 defendant Sprotlynge Richard husbandman 825213 825213 Sprotlynge, Richard, of Brynkell, husbandman 5

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.875ms