home / cp40x

names

6 rows where case_id = 2305446

✎ 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
4830055 2305446 2305446 plaintiff Benet William     Benet, William 0
4830056 2305446 2305446 defendant Hervy John shipman 585933 585933 Hervy, John, of Great Yarmouth, shipman 0
4830057 2305446 2305446 defendant Canell or Cavell Thomas smith 771834 771834 Canell or Cavell, Thomas, of Tonstede, smith 1
4830058 2305446 2305446 defendant Hill Thomas shipman 588456 588456 Hill, Thomas, of Yarmouth, shipman 2
4830059 2305446 2305446 defendant Hobbes William smith 613609 613609 Hobbes, William, of Ryburgh, smith 3
4830060 2305446 2305446 defendant Miles William husbandman 591084 591084 Miles, William, of Geyst, husbandman 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 14.768ms