home / cp40x

names

6 rows where case_id = 1961749

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3812329 1961749 1961749 plaintiff Corboll William     Corboll, William 0
3812330 1961749 1961749 defendant Heyward Richard shoemaker 587636 587636 Heyward, Richard, of Hadleigh, shoemaker 0
3812331 1961749 1961749 defendant More Thomas butcher 596906 596906 More, Thomas, of Newton, butcher 1
3812332 1961749 1961749 defendant bemond John butcher 585937 585937 bemond, John, of Bylston, butcher 2
3812333 1961749 1961749 defendant Eybroke William shoemaker 633364 633364 Eybroke, William, of Bylleston, shoemaker 3
3812334 1961749 1961749 defendant Carter William shoemaker 633364 633364 Carter, William, of Bylleston, shoemaker 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 7.123ms