home / cp40x

names

6 rows where case_id = 2415570

✎ 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
5199382 2415570 2415570 plaintiff Watson Henry     Watson, Henry 0
5199383 2415570 2415570 defendant Kerver Thomas husbandman 822362 822362 Kerver, Thomas, of Little Laver, Essex, husbandman 0
5199384 2415570 2415570 defendant Faune John skinner 810828 810828 Faune, John, of Little Laver, skinner 1
5199385 2415570 2415570 defendant Morell William husbandman 858691 858691 Morell, William, of Motchyng, Essex, husbandman 2
5199386 2415570 2415570 defendant Mynston John smith 650810 650810 Mynston, John, of High Laver, Essex, smith 3
5199387 2415570 2415570 defendant Smyth John laborer 800782 800782 Smyth, John, of Macchyng, Essex, laborer 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.765ms