home / cp40x

names

7 rows where case_id = 2345290

✎ 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
4961118 2345290 2345290 plaintiff Bertram John knight   Bertram, John, knight 0
4961119 2345290 2345290 defendant Raa Alexander yeoman 771060 771060 Raa, Alexander, of Lowyk, yeoman 0
4961120 2345290 2345290 defendant Wark John yeoman 771060 771060 Wark, John, of Lowyk, yeoman 1
4961121 2345290 2345290 defendant Floure John husbandman 771060 771060 Floure, John, of Lowyk, husbandman 2
4961122 2345290 2345290 defendant Clerk William yeoman 827743 827743 Clerk, William, of Elandhall, yeoman 3
4961123 2345290 2345290 defendant Moreton John yeoman 624291 624291 Moreton, John, of Wolsyngton, yeoman 4
4961124 2345290 2345290 defendant Rogerson John yeoman 595857 595857 Rogerson, John, of Alnewyk, yeoman 5

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