home / cp40x

names

6 rows where case_id = 2361255

✎ 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
5014961 2361255 2361255 plaintiff Blount Walter esq   Blount, Walter, esq 0
5014962 2361255 2361255 defendant Mable Nicholas husbandman 601293 601293 Mable, Nicholas, of Sneynton, husbandman 0
5014963 2361255 2361255 defendant Grene Henry yeoman 598009 598009 Grene, Henry, of Lynby, yeoman 1
5014964 2361255 2361255 defendant Walley John yeoman 586901 586901 Walley, John, of Nottingham, yeoman 2
5014965 2361255 2361255 defendant Persons John yeoman 749768 749768 Persons, John, of Wilford, yeoman 3
5014966 2361255 2361255 defendant Richardson Robert husbandman 598716 598716 Richardson, Robert, of Keyworth, husbandman 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 11.946ms