home / cp40x

names

6 rows where case_id = 2448908

✎ 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
5312962 2448908 2448908 plaintiff Belton Robert     Belton, Robert 0
5312963 2448908 2448908 defendant Lane Joh beer brewer 633166 633166 Lane, Joh, of Lyghe, beer brewer 0
5312964 2448908 2448908 defendant Hoberd John lborer 635892 635892 Hoberd, John, of Rayle, lborer 1
5312965 2448908 2448908 defendant Sexteyn John husbandman 610824 610824 Sexteyn, John, of Pryttylwell, husbandman 2
5312966 2448908 2448908 defendant Semer John shipman 633166 633166 Semer, John, of Lyghe, shipman 3
5312967 2448908 2448908 defendant Brakley Roger husbandman 592137 592137 Brakley, Roger, of Rawereth, 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 13.897ms