home / cp40x

names

5 rows where case_id = 2422256

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5222383 2422256 2422256 plaintiff Mauntell Walter esq   Mauntell, Walter, esq 0
5222384 2422256 2422256 defendant Welles John yeoman 711061 711061 Welles, John, of Hygham Ferres, yeoman 0
5222385 2422256 2422256 defendant Boys Thomas husbandman 860995 860995 Boys, Thomas, of Wedenbek, husbandman 1
5222386 2422256 2422256 defendant Ardern William yeoman 599957 599957 Ardern, William, of Sprotton, yeoman 2
5222387 2422256 2422256 defendant Smyth Richard parson of Thirnyng, Hunts   Smyth, Richard, parson of Thirnyng, Hunts 3

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