home / cp40x

names

6 rows where case_id = 2398968

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5142609 2398968 2398968 plaintiff Wyche Hugh mercer 585869 585869 Wyche, Hugh, of London, mercer 0
5142610 2398968 2398968 defendant Sawenderson Richard chapman 852426 852426 Sawenderson, Richard, of Kirton, in Holdon, Lincs, chapman 0
5142611 2398968 2398968 defendant atte Yate Richard weaver 852427 852427 atte Yate, Richard, of Todynton, Beds, weaver 1
5142612 2398968 2398968 defendant Willyhams John   587294 587294 Willyhams, John, of Todyngton, shoe maker 2
5142613 2398968 2398968 defendant Spencer John butcher 852429 852429 Spencer, John, of Melton Bryan, Beds, butcher 3
5142614 2398968 2398968 defendant Loselond Richard chapman 587136 587136 Loselond, Richard, of Derby, chapman 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 12.567ms