home / cp40x

names

6 rows where case_id = 2345695

✎ 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
4962525 2345695 2345695 plaintiff Broun Robert     Broun, Robert 0
4962526 2345695 2345695 defendant Grene John laborer 589532 589532 Grene, John, of Fakenham, laborer 0
4962527 2345695 2345695 defendant Ferrour or Smith Nicholas husbandman 661957 661957 Ferrour or Smith, Nicholas, of Over Geyst, husbandman 1
4962528 2345695 2345695 defendant Gardyner Simon husbandman 586940 586940 Gardyner, Simon, of Baldeswell, husbandman 2
4962529 2345695 2345695 defendant Masshe Nicholas laborer 587604 587604 Masshe, Nicholas, of Warham, laborer 3
4962530 2345695 2345695 defendant Pepyr Geoffrey husbandman 592523 592523 Pepyr, Geoffrey, of Walpoll, husbandman 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 12.332ms