home / cp40x

names

6 rows where case_id = 1870069

✎ 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
3607723 1870069 1870069 plaintiff Selyok John   586901 586901 Selyok, John, of Nottingham, bell founder 0
3607724 1870069 1870069 defendant Parker Thomas yeoman 592452 592452 Parker, Thomas, of Elmesworth, Derbs, yeoman 0
3607725 1870069 1870069 defendant Barton Richard barker 592453 592453 Barton, Richard, of Wodsettes, Derbs, barker 1
3607726 1870069 1870069 defendant More Richard   592454 592454 More, Richard, of Grenhill, Derbs, scythe smith 2
3607727 1870069 1870069 defendant Cook John yeoman 592455 592455 Cook, John, of Norton, Derbs, yeoman 3
3607728 1870069 1870069 defendant Aleyn John yeoman 586143 586143 Aleyn, John, of Norton, yeoman 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 11.271ms