home / cp40x

names

6 rows where case_id = 2272746

✎ 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
4723796 2272746 2272746 plaintiff Draper Robert   585936 585936 Draper, Robert, of Norwich 0
4723797 2272746 2272746 defendant Heylot John clerk 588952 588952 Heylot, John, of North Pykenham, Norf, clerk 0
4723798 2272746 2272746 defendant Smyth John yeoman 791403 791403 Smyth, John, of Watlyngton, Cambs, yeoman 1
4723799 2272746 2272746 defendant Crane William clerk 605371 605371 Crane, William, of Topcroft, Norf, clerk 2
4723800 2272746 2272746 defendant Shele Robert butcher 588521 588521 Shele, Robert, of Pulham, Norf, butcher 3
4723801 2272746 2272746 defendant Scalon Robert tanner 791404 791404 Scalon, Robert, of Heygham, Norf, tanner 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.857ms