home / cp40x

names

6 rows where case_id = 2337755

✎ 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
4936314 2337755 2337755 plaintiff Bothe William clerk   Bothe, William, clerk 0
4936315 2337755 2337755 defendant Jarkevyle John laborer 824549 824549 Jarkevyle, John, of Lalham, laborer 0
4936316 2337755 2337755 defendant Byskowe John husbandman 824550 824550 Byskowe, John, of Totdenham, husbandman 1
4936317 2337755 2337755 defendant Clerk John shipman 777932 777932 Clerk, John, of Herwych, Essex, shipman 2
4936318 2337755 2337755 defendant Alford Robert husbandman 816673 816673 Alford, Robert, of Edelmenton, husbandman 3
4936319 2337755 2337755 defendant Garthorp John vicar of Lalham   Garthorp, John, vicar of Lalham 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 14.956ms