home / cp40x

names

6 rows where case_id = 2292820

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4789599 2292820 2292820 plaintiff Ifeld Walter     Ifeld, Walter 0
4789600 2292820 2292820 defendant Payn John wheeler 621884 621884 Payn, John, of Lyndefeld, wheeler 0
4789601 2292820 2292820 defendant Baldyng John potter 621884 621884 Baldyng, John, of Lyndefeld, potter 1
4789602 2292820 2292820 defendant Brokere John husbandman 802620 802620 Brokere, John, of Herthynglegh, husbandman 2
4789603 2292820 2292820 defendant Dunstone John (legal representative)   Dunstone, John, executrix of 3
4789604 2292820 2292820 defendant Dunstone Joan shepster or seamstress 587374 587374 Dunstone, Joan, of Lewes, shepster or seamstress 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 11.429ms