home / cp40x

names

6 rows where case_id = 1907454

✎ 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
3640478 1907454 1907454 plaintiff Andrewe William     Andrewe, William 0
3640479 1907454 1907454 defendant Nicholas Roger husbandman 597161 597161 Nicholas, Roger, of Syddyngborn, husbandman 0
3640480 1907454 1907454 defendant Chaplyn Simon butcher 597161 597161 Chaplyn, Simon, of Syddyngborn, butcher 1
3640481 1907454 1907454 defendant Aleyn Geoffrey husbandman 596329 596329 Aleyn, Geoffrey, of Bredgare, husbandman 2
3640482 1907454 1907454 defendant Ryccard Robert butcher 598690 598690 Ryccard, Robert, of Myddylton, butcher 3
3640483 1907454 1907454 defendant Waden William husbandman 600292 600292 Waden, William, of Tong, 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 12.815ms