home / cp40x

names

7 rows where case_id = 2425605

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5234248 2425605 2425605 plaintiff Cook John (legal representative)   Cook, John, executors of 0
5234249 2425605 2425605 plaintiff Grenefeld William chalain   (Grenefeld, William, chalain 1
5234250 2425605 2425605 plaintiff Motte Thomas     Motte, Thomas 2
5234251 2425605 2425605 defendant Kylworth John husbandman 597337 597337 Kylworth, John, of Potton, husbandman 0
5234252 2425605 2425605 defendant Jewell Thomas husbandman 597337 597337 Jewell, Thomas, of Potton, husbandman 1
5234253 2425605 2425605 defendant Lodys William   587531 587531 Lodys, William, of Asshewell, Herts, mason 2
5234254 2425605 2425605 defendant Roper William husbandman 592690 592690 Roper, William, of Shefford, husbandman 3

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