home / cp40x

names

8 rows where case_id = 2317280

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4869006 2317280 2317280 plaintiff Knapton John (legal representative) 588081 588081 Knapton, John, of Cambridge, executors of 0
4869007 2317280 2317280 plaintiff Knapton Ellen     (Knapton, Ellen 1
4869008 2317280 2317280 plaintiff Spencer William notary   Spencer, William, notary 2
4869009 2317280 2317280 defendant Rownd John drover 608436 608436 Rownd, John, of Kele, Staffs, drover 0
4869010 2317280 2317280 defendant Cook John chapman 588081 588081 Cook, John, of Cambridge, chapman 1
4869011 2317280 2317280 defendant Daykyn Hugh drover 631124 631124 Daykyn, Hugh, of Whytcherche, Salop, drover 2
4869012 2317280 2317280 defendant Ive Thomas waterman 596220 596220 Ive, Thomas, of Ely, waterman 3
4869013 2317280 2317280 defendant atte Ware Roger smith 815087 815087 atte Ware, Roger, of Foulburn, smith 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 6.215ms