home / cp40x

names

7 rows where case_id = 1970207

✎ 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
3839256 1970207 1970207 plaintiff Webster Thomas (legal representative)   Webster, Thomas, executors of 0
3839257 1970207 1970207 plaintiff Stubbys William     (Stubbys, William 1
3839258 1970207 1970207 defendant Farley Thomas shoemaker 598803 598803 Farley, Thomas, of Alford, shoemaker 0
3839259 1970207 1970207 defendant Pynson John smith 598803 598803 Pynson, John, of Alford, smith 1
3839260 1970207 1970207 defendant Spendluff Thomas yeoman 635705 635705 Spendluff, Thomas, of Well, yeoman 2
3839261 1970207 1970207 defendant Salter James shoemaker 593123 593123 Salter, James, of Hornecastell, shoemaker 3
3839262 1970207 1970207 defendant Coke William tailor 598803 598803 Coke, William, of Alford, tailor 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 9.234ms