home / cp40x

names

6 rows where case_id = 2300059

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4812603 2300059 2300059 plaintiff Hamond John   791927 791927 Hamond, John, of East Hadenham, on his own account 0
4812604 2300059 2300059 defendant Norman Robert yeoman 609766 609766 Norman, Robert, of Ormysby, yeoman 0
4812605 2300059 2300059 defendant Collesson John   806054 806054 Collesson, John, of Shipdam, shragger, Hirne, William, of Hokeryng, parson 1
4812606 2300059 2300059 defendant Bakton John yeoman 596089 596089 Bakton, John, of Keteleston, yeoman 2
4812607 2300059 2300059 defendant Gyle Thomas yeoman 806055 806055 Gyle, Thomas, of Happle, yeoman 3
4812608 2300059 2300059 defendant Busshop Robert yeoman 595064 595064 Busshop, Robert, of Gryston, 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 16.543ms