home / cp40x

names

7 rows where case_id = 2438997

✎ 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
5279103 2438997 2438997 plaintiff Bourchier John knight   Bourchier, John, knight 0
5279104 2438997 2438997 defendant Pulteney Thomas gent 610825 610825 Pulteney, Thomas, of Mysterton, gent 0
5279105 2438997 2438997 defendant Wyndell William yeoman 610825 610825 Wyndell, William, of Mysterton, yeoman 1
5279106 2438997 2438997 defendant Gancell or Gamel Philip yeoman 595081 595081 Gancell or Gamel, Philip, of Misterton, yeoman 2
5279107 2438997 2438997 defendant Broun William yeoman 595081 595081 Broun, William, of Misterton, yeoman 3
5279108 2438997 2438997 defendant Kendale Robert yeoman 595081 595081 Kendale, Robert, of Misterton, yeoman 4
5279109 2438997 2438997 defendant Bamford William yeoman 595081 595081 Bamford, William, of Misterton, 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 11.985ms