home / cp40x

names

6 rows where case_id = 2367275

✎ 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
5035616 2367275 2367275 plaintiff Thurston John     Thurston, John 0
5035617 2367275 2367275 defendant Fryng John husbandman 590659 590659 Fryng, John, of Leveryngton, husbandman 0
5035618 2367275 2367275 defendant Teryngton John husbandman 720099 720099 Teryngton, John, of Tydd St Giles, husbandman 1
5035619 2367275 2367275 defendant Walpoll John (legal representative) 759104 759104 Walpoll, John, of Tyd St Mary, chaplain, executors of 2
5035620 2367275 2367275 defendant Worthen John chaplain 590659 590659 (Worthen, John, of Leveryngton, chaplain 3
5035621 2367275 2367275 defendant Herrysson Thomas gent 636181 636181 Herrysson, Thomas, of Tyd St Mary, Lincs, gent 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.662ms