home / cp40x

names

6 rows where case_id = 1962693

✎ 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
3815273 1962693 1962693 plaintiff Gyles Thomas     Gyles, Thomas 0
3815274 1962693 1962693 defendant Prestgrave Richard chapman 630157 630157 Prestgrave, Richard, of Oundell, Nhants, chapman 0
3815275 1962693 1962693 defendant Rusheton John glover 590356 590356 Rusheton, John, of Oundell, glover 1
3815276 1962693 1962693 defendant Clerke Thomas yeoman 633858 633858 Clerke, Thomas, of Elmyngton, Nhants, yeoman 2
3815277 1962693 1962693 defendant Saunders Richard husbandman 633859 633859 Saunders, Richard, of Aylyngton, Hunts, husbandman 3
3815278 1962693 1962693 defendant Clerke Thomas husbandman 628367 628367 Clerke, Thomas, of Gyddyng Magna, Hunts, husbandman 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 6.587ms