home / cp40x

names

6 rows where case_id = 2266052

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4702048 2266052 2266052 plaintiff Grene John chaplain   Grene, John, chaplain 0
4702049 2266052 2266052 defendant Baret Walter laborer 787354 787354 Baret, Walter, of South Peterton, Soms, laborer 0
4702050 2266052 2266052 defendant Bradon Philip yeoman 787355 787355 Bradon, Philip, of South Peterton, yeoman 1
4702051 2266052 2266052 defendant Fox John husbandman 787355 787355 Fox, John, of South Peterton, husbandman 2
4702052 2266052 2266052 defendant Peny John   787355 787355 Peny, John, of South Peterton, holy water clerk 3
4702053 2266052 2266052 defendant Talbot of South Peterton Soms, skinner   Talbot, of South Peterton, Soms, skinner 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 18.368ms