home / cp40x

names

6 rows where case_id = 1907453

✎ 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
3640472 1907453 1907453 plaintiff Andrewe William     Andrewe, William 0
3640473 1907453 1907453 defendant Nicholas Roger husbandman 597161 597161 Nicholas, Roger, of Syddyngborn, husbandman 0
3640474 1907453 1907453 defendant Chaplyn Simon butcher 597161 597161 Chaplyn, Simon, of Syddyngborn, butcher 1
3640475 1907453 1907453 defendant Alen Geoffrey husbandman 596329 596329 Alen, Geoffrey, of Bredgare, husbandman 2
3640476 1907453 1907453 defendant Ryccard Robert butcher 600291 600291 Ryccard, Robert, of Middylton, butcher 3
3640477 1907453 1907453 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 15.202ms