home / cp40x

names

7 rows where case_id = 2428415

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5243926 2428415 2428415 plaintiff Parker Thomas     Parker, Thomas 0
5243927 2428415 2428415 plaintiff Parker Beatrice former wife of Stordy, John   Beatrice his wife, former wife of Stordy, John 1
5243928 2428415 2428415 defendant Genytas Robert husbandman 620413 620413 Genytas, Robert, of Cawndyssh, Suff, husbandman 0
5243929 2428415 2428415 defendant Smyth John tailor 596046 596046 Smyth, John, of Haverell, Suff, tailor 1
5243930 2428415 2428415 defendant Hamelyn John butcher 791274 791274 Hamelyn, John, of Thyrlowe, Suff, butcher 2
5243931 2428415 2428415 defendant Ody John smith 586470 586470 Ody, John, of Colchester, smith 3
5243932 2428415 2428415 defendant Sheldrake William cordwainer 589375 589375 Sheldrake, William, of Wederesfeld, cordwainer 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.039ms