home / cp40x

names

7 rows where case_id = 2248652

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4658887 2248652 2248652 plaintiff Curson John     Curson, John 0
4658888 2248652 2248652 defendant Ildersham William smith 779084 779084 Ildersham, William, of Swafham juxta Reche, Cams, smith 0
4658889 2248652 2248652 defendant Mikelweye Thomas smith 779085 779085 Mikelweye, Thomas, of Notelesham, Cams, smith 1
4658890 2248652 2248652 defendant Smyth Reginald smith 629185 629185 Smyth, Reginald, of Duxford, Cams, smith 2
4658891 2248652 2248652 defendant Fakenham Thomas yeoman 585907 585907 Fakenham, Thomas, of Bishops Lenn, yeoman 3
4658892 2248652 2248652 defendant Bulneye John yeoman 587414 587414 Bulneye, John, of Thetford, yeoman 4
4658893 2248652 2248652 defendant Goos John smith 587414 587414 Goos, John, of Thetford, smith 5

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