home / cp40x

names

7 rows where case_id = 2445232

✎ 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
5300924 2445232 2445232 plaintiff Conyer John     Conyer, John 0
5300925 2445232 2445232 defendant Tryppe Robert   822059 822059 Tryppe, Robert, of South Welde, Essex 0
5300926 2445232 2445232 defendant Nycoll Joan widow 774042 774042 Nycoll, Joan, of Orsete, Essex, widow 1
5300927 2445232 2445232 defendant Wreght William laborer 594207 594207 Wreght, William, of Chaldewell, laborer 2
5300928 2445232 2445232 defendant Bayle William laborer 870455 870455 Bayle, William, of Abbes Warle, Essex, laborer 3
5300929 2445232 2445232 defendant Neweman John laborer 870449 870449 Neweman, John, of Crawenham, Essex, laborer 4
5300930 2445232 2445232 defendant Person William laborer 870456 870456 Person, William, of South Woconton, Essex, laborer 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 14.377ms