home / cp40x

names

8 rows where case_id = 1903520

✎ 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
3627681 1903520 1903520 plaintiff Brett John   597207 597207 Brett, John, of Kedyngton 0
3627682 1903520 1903520 plaintiff Brett Robert     Brett, Robert 1
3627683 1903520 1903520 plaintiff Noreys Thomas chaplain   Noreys, Thomas, chaplain 2
3627684 1903520 1903520 plaintiff Kene John   597208 597208 Kene, John, of Haverell 3
3627685 1903520 1903520 plaintiff Pecok Henry husbandman 597209 597209 Pecok, Henry, of Wrattyng, husbandman 4
3627686 1903520 1903520 defendant Myller Richard husbandman 597210 597210 Myller, Richard, of Magna Wrattyng, husbandman 0
3627687 1903520 1903520 defendant Davy Thomas carpenter 597211 597211 Davy, Thomas, of Ketton, carpenter 1
3627688 1903520 1903520 defendant Pereson William husbandman 597212 597212 Pereson, William, of Sturmere, Essex, husbandman 2

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