home / cp40x

names

8 rows where case_id = 2403760

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5159039 2403760 2403760 plaintiff Riall or Rall John (legal representative)   Riall or Rall, John, executors of 0
5159040 2403760 2403760 plaintiff Kyngeston Richard     (Kyngeston, Richard 1
5159041 2403760 2403760 plaintiff Riall Margaret formerly wife of John   Riall, Margaret, formerly wife of John 2
5159042 2403760 2403760 defendant Heyne John fuller 778906 778906 Heyne, John, of Axebrygge, fuller 0
5159043 2403760 2403760 defendant Heyne Walter fuller 599338 599338 Heyne, Walter, of Bruton, fuller 1
5159044 2403760 2403760 defendant Dyer Geoffrey dyer 599338 599338 Dyer, Geoffrey, of Bruton, dyer 2
5159045 2403760 2403760 defendant Dyer Walter clothier 599338 599338 Dyer, Walter, of Bruton, clothier 3
5159046 2403760 2403760 defendant Milleward Thomas   597026 597026 Milleward, Thomas, of Batcombe, cloth maker 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 18.735ms