home / cp40x

names

6 rows where case_id = 2259825

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4681488 2259825 2259825 plaintiff Mayster Henry     Mayster, Henry, on his own account 0
4681489 2259825 2259825 defendant Caudeler Nicholas yeoman 588126 588126 Caudeler, Nicholas, of North Walsham, yeoman 0
4681490 2259825 2259825 defendant Punchamur William yeoman 783315 783315 Punchamur, William, of Trous, yeoman 1
4681491 2259825 2259825 defendant Hosyer Thomas yeoman 595097 595097 Hosyer, Thomas, of Holt Market, yeoman 2
4681492 2259825 2259825 defendant Arcale Richard spicer 668168 668168 Arcale, Richard, of East Rustone, spicer 3
4681493 2259825 2259825 defendant Kirgate John yeoman 624560 624560 Kirgate, John, of Rollysby, 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 13.254ms