home / cp40x

names

7 rows where case_id = 2523846

✎ 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
5563241 2523846 2523846 plaintiff Archedecon Richard     Archedecon, Richard 0
5563242 2523846 2523846 plaintiff Sible William     Sible, William 1
5563243 2523846 2523846 defendant Astewode Thomas husbandman 609657 609657 Astewode, Thomas, of Grauncestre, husbandman 0
5563244 2523846 2523846 defendant Laxston John yeoman 596900 596900 Laxston, John, of Godmanchester, yeoman 1
5563245 2523846 2523846 defendant Kyng John, junior fisher 637650 637650 Kyng, John, junior, of Halywell, fisher 2
5563246 2523846 2523846 defendant Kyng Simon fisher 637650 637650 Kyng, Simon, of Halywell, fisher 3
5563247 2523846 2523846 defendant Lyncoln Thomas fisher 615579 615579 Lyncoln, Thomas, of Hemmyngford Abbot, fisher 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 13.925ms