home / cp40x

names

6 rows where case_id = 2433964

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5262312 2433964 2433964 plaintiff Nyche Thomas     Nyche, Thomas 0
5262313 2433964 2433964 defendant Walker Robert clerk 854242 854242 Walker, Robert, of Stratfeld Mortemer, Berks, clerk 0
5262314 2433964 2433964 defendant Nesse Thomas yeoman 589652 589652 Nesse, Thomas, of Shrewesbury, yeoman 1
5262315 2433964 2433964 defendant Spencer John chapman 607245 607245 Spencer, John, of Bradwell, Suff, chapman 2
5262316 2433964 2433964 defendant Smyth Thomas smith 865596 865596 Smyth, Thomas, of Rygate, Suff, smith 3
5262317 2433964 2433964 defendant Beke Thomas chapman 865597 865597 Beke, Thomas, of Cristianmell, Wilts, chapman 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 7.184ms