home / cp40x

names

6 rows where case_id = 2383198

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5089140 2383198 2383198 plaintiff Leicestre John     Leicestre, John 0
5089141 2383198 2383198 defendant Cok Thomas miller 592872 592872 Cok, Thomas, of Cressalton, Surrey, miller 0
5089142 2383198 2383198 defendant Taillour Robert tailor 586033 586033 Taillour, Robert, of Westminster, tailor 1
5089143 2383198 2383198 defendant Nyghnyght Nicholas husbandman 592873 592873 Nyghnyght, Nicholas, of Cressalton, husbandman 2
5089144 2383198 2383198 defendant Cok John, junior yeoman 592873 592873 Cok, John, junior, of Cressalton, yeoman 3
5089145 2383198 2383198 defendant Broker John fuller 592873 592873 Broker, John, of Cressalton, fuller 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 15.115ms