home / cp40x

names

6 rows where case_id = 2330596

✎ 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
4913112 2330596 2330596 plaintiff Cheyne Nicholas   587631 587631 Cheyne, Nicholas, of Chesterfeld 0
4913113 2330596 2330596 defendant Marshall Thomas husbandman 588089 588089 Marshall, Thomas, of Bakewell, husbandman 0
4913114 2330596 2330596 defendant Coke William husbandman 641372 641372 Coke, William, of Penyston, husbandman 1
4913115 2330596 2330596 defendant Sclater John husbandman 594785 594785 Sclater, John, of Assheford, husbandman 2
4913116 2330596 2330596 defendant Cook Ralph husbandman 593236 593236 Cook, Ralph, of Bradwall, husbandman 3
4913117 2330596 2330596 defendant Shakirley John gent 588938 588938 Shakirley, John, of Longesdon, 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 19.387ms