home / cp40x

names

6 rows where case_id = 2290712

✎ 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
4783032 2290712 2290712 plaintiff Cullyng John     Cullyng, John 0
4783033 2290712 2290712 defendant Skarlet John yeoman 587407 587407 Skarlet, John, of Wrydelyngton, yeoman 0
4783034 2290712 2290712 defendant Genote John husbandman 592388 592388 Genote, John, of Newemarket, husbandman 1
4783035 2290712 2290712 defendant Anton John cordwainer 588645 588645 Anton, John, of Clare, cordwainer 2
4783036 2290712 2290712 defendant Bowyere John cordwainer 614865 614865 Bowyere, John, of Bottesham, Cams, cordwainer 3
4783037 2290712 2290712 defendant Hache John farmer 596683 596683 Hache, John, of Berton, farmer 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 12.539ms