home / cp40x

names

6 rows where case_id = 2246459

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4651448 2246459 2246459 plaintiff Arle John, junior     Arle, John, junior 0
4651449 2246459 2246459 defendant Wyle William ironmonger 587891 587891 Wyle, William, of Redyng, ironmonger 0
4651450 2246459 2246459 defendant Smyth William smith 588385 588385 Smyth, William, of Steventon, smith 1
4651451 2246459 2246459 defendant Haukyn Thomas (legal representative)   Haukyn, Thomas, executors of 2
4651452 2246459 2246459 defendant Haukyn Christine widow 753587 753587 (Haukyn, Christine, of Blebury, widow 3
4651453 2246459 2246459 defendant Haukyn John ploughman 753587 753587 Haukyn, John, of Blebury, ploughman 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 15.722ms