home / cp40x

names

6 rows where case_id = 2001476

✎ 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
3933451 2001476 2001476 plaintiff Gryffyn Edward     Gryffyn, Edward 0
3933452 2001476 2001476 defendant Semar Alexander, senior gent 585869 585869 Semar, Alexander, senior, of London, gent 0
3933453 2001476 2001476 defendant Allen Thomas   603499 603499 Allen, Thomas, of Suthwerk, Surr 1
3933454 2001476 2001476 defendant Rogers Thomas merchant 585869 585869 Rogers, Thomas, of London, merchant 2
3933455 2001476 2001476 defendant Constantine Philip merchant 586606 586606 Constantine, Philip, of Chester, merchant 3
3933456 2001476 2001476 defendant Gorstlowe Thomas merchant 586606 586606 Gorstlowe, Thomas, of Chester, merchant 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 6.174ms