home / cp40x

names

7 rows where case_id = 1949710

✎ 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
3774377 1949710 1949710 plaintiff Aston William     Aston, William 0
3774378 1949710 1949710 defendant Baker Thomas shoemaker 586941 586941 Baker, Thomas, of Boxford, shoemaker 0
3774379 1949710 1949710 defendant Carter William shoemaker 585937 585937 Carter, William, of Bylston, shoemaker 1
3774380 1949710 1949710 defendant Sharp John shoemaker 601181 601181 Sharp, John, of Wulpett, shoemaker 2
3774381 1949710 1949710 defendant Fytlyng Bartholomew butcher 601679 601679 Fytlyng, Bartholomew, of Heigham, Norf, butcher 3
3774382 1949710 1949710 defendant Bele John shoemaker 586953 586953 Bele, John, of Sudbury, shoemaker 4
3774383 1949710 1949710 defendant Austyn William shoemaker 586953 586953 Austyn, William, of Sudbury, shoemaker 5

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 17.215ms