home / cp40x

names

6 rows where case_id = 1940988

✎ 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
3747027 1940988 1940988 plaintiff Darcy Thomas knight   Darcy, Thomas, knight 0
3747028 1940988 1940988 defendant Hunt Henry gent 622448 622448 Hunt, Henry, of Carleton juxta Rothwell, gent 0
3747029 1940988 1940988 defendant Lucas Robert tanner 588586 588586 Lucas, Robert, of Rothwell, tanner 1
3747030 1940988 1940988 defendant More Anthony husbandman 607216 607216 More, Anthony, of Olton, husbandman 2
3747031 1940988 1940988 defendant Dobson Gilbert husbandman 607216 607216 Dobson, Gilbert, of Olton, husbandman 3
3747032 1940988 1940988 defendant Moxson Robert husbandman 588586 588586 Moxson, Robert, of Rothwell, 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 7.702ms