home / cp40x

names

6 rows where case_id = 2471078

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5386032 2471078 2471078 plaintiff Coke Richard mercer 586117 586117 Coke, Richard, of Coventry, mercer 0
5386033 2471078 2471078 defendant Lescy John clerk 881390 881390 Lescy, John, of Pakynton on Bruern, Leics, clerk 0
5386034 2471078 2471078 defendant Leson William yeoman 599771 599771 Leson, William, of Pakyngton, yeoman 1
5386035 2471078 2471078 defendant Foster Thomas yeoman 595186 595186 Foster, Thomas, of Assheby de la Zouche, Leics, yeoman 2
5386036 2471078 2471078 defendant Blakurby Thomas husbandman 781252 781252 Blakurby, Thomas, of Derby, Derbs, husbandman 3
5386037 2471078 2471078 defendant Blakurby John chapman 587136 587136 Blakurby, John, 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 14.853ms