home / cp40x

names

6 rows where case_id = 1921242

✎ 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
3684365 1921242 1921242 plaintiff Wylliamson John alderman 586901 586901 Wylliamson, John, of Nottingham, alderman 0
3684366 1921242 1921242 defendant Key Thomas mercer 610606 610606 Key, Thomas, of Huddersfeld, Yorks, mercer 0
3684367 1921242 1921242 defendant Broke William tanner 610607 610607 Broke, William, of Huddersfeld, tanner 1
3684368 1921242 1921242 defendant Batley William husbandman 610607 610607 Batley, William, of Huddersfeld, husbandman 2
3684369 1921242 1921242 defendant Hanson John clothmaker 610608 610608 Hanson, John, of Querneby, Huddersfeld, clothmaker 3
3684370 1921242 1921242 defendant Hye William clothmaker 610608 610608 Hye, William, of Querneby, Huddersfeld, clothmaker 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 16.757ms