home / cp40x

names

5 rows where case_id = 2530791

✎ 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
5586419 2530791 2530791 plaintiff Legh Roger     Legh, Roger 0
5586420 2530791 2530791 defendant Hoppes John skinner 586487 586487 Hoppes, John, of Suthwerk, skinner 0
5586421 2530791 2530791 defendant White Nicholas husbandman 586797 586797 White, Nicholas, of Bansted, husbandman 1
5586422 2530791 2530791 defendant Smyth William   818143 818143 Smyth, William, of Lambehithe, shipwright 2
5586423 2530791 2530791 defendant Bodull Thomas husbandman 610543 610543 Bodull, Thomas, of Dulwyche, husbandman 3

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 5.328ms