home / cp40x

names

6 rows where case_id = 2456493

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5338121 2456493 2456493 plaintiff Knyvet William knight, sheriff of Norf   Knyvet, William, knight, sheriff of Norf 0
5338122 2456493 2456493 defendant Carter Robert yeoman 592344 592344 Carter, Robert, of Holt, yeoman 0
5338123 2456493 2456493 defendant Thorp Henry yeoman 598466 598466 Thorp, Henry, of Beteryng, yeoman 1
5338124 2456493 2456493 defendant Hall Robert ofStaunjford, yeoman   Hall, Robert, ofStaunjford, yeoman 2
5338125 2456493 2456493 defendant Herle Geoffrey yeoman 589195 589195 Herle, Geoffrey, of South Byrlyngham, yeoman 3
5338126 2456493 2456493 defendant Fouldon Alexander yeoman 593701 593701 Fouldon, Alexander, of Harplee, yeoman 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 14.295ms