home / cp40x

names

8 rows where case_id = 2291692

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4786103 2291692 2291692 plaintiff (not given)   abbot of Fountains Abbey   Fountains Abbey, abbot of 0
4786104 2291692 2291692 defendant Bolton Thomas husbandman 802197 802197 Bolton, Thomas, of Laton in Craven, husbandman 0
4786105 2291692 2291692 defendant Fox John yeoman 802198 802198 Fox, John, of Kirkeby Malsald, yeoman 1
4786106 2291692 2291692 defendant Warde Thomas yeoman 760769 760769 Warde, Thomas, of Eveston, yeoman 2
4786107 2291692 2291692 defendant Grondolfe William husbandman 780468 780468 Grondolfe, William, of Asmonderby, husbandman 3
4786108 2291692 2291692 defendant Bolton Adam husbandman 802199 802199 Bolton, Adam, of Kirkeby Malsard, husbandman 4
4786109 2291692 2291692 defendant Peryson Robert husbandman 802199 802199 Peryson, Robert, of Kirkeby Malsard, husbandman 5
4786110 2291692 2291692 defendant Toppan Robert husbandman 802199 802199 Toppan, Robert, of Kirkeby Malsard, husbandman 6

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.993ms