home / cp40x

names

7 rows where case_id = 2226965

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4585744 2226965 2226965 plaintiff Harleston John     Harleston, John 0
4585745 2226965 2226965 defendant Fynch Richard   589928 589928 Fynch, Richard, of mendham 0
4585746 2226965 2226965 defendant Rout Simon baker 587913 587913 Rout, Simon, of Pulham, baker 1
4585747 2226965 2226965 defendant Molt Robert clerk   Molt, Robert, clerk 2
4585748 2226965 2226965 defendant smyth John   642391 642391 smyth, John, of Broom 3
4585749 2226965 2226965 defendant Freton John   586406 586406 Freton, John, of Hopton 4
4585750 2226965 2226965 defendant Bakere John   593170 593170 Bakere, John, of Wynferthyng 5

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 15.044ms