home / cp40x

names

6 rows where case_id = 2453464

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5328066 2453464 2453464 plaintiff Weldon Maud widow   Weldon, Maud, widow 0
5328067 2453464 2453464 defendant Patyngham Thomas nailman 586122 586122 Patyngham, Thomas, of Dudley, Worcs, nailman 0
5328068 2453464 2453464 defendant Rawlynson Edmund chapman 587136 587136 Rawlynson, Edmund, of Derby, chapman 1
5328069 2453464 2453464 defendant Free William clothier 838055 838055 Free, William, of Wylton juxta Salisbury, clothier 2
5328070 2453464 2453464 defendant Golover Simon dyer 589024 589024 Golover, Simon, of Agmondesham, Bucks, dyer 3
5328071 2453464 2453464 defendant Coulton Richard gent 587052 587052 Coulton, Richard, of Beverley, Yorks, gent 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.338ms