home / cp40x

names

5 rows where case_id = 2239179

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4626281 2239179 2239179 plaintiff Power John   603621 603621 Power, John, of Helston 0
4626282 2239179 2239179 defendant Bossegham iuxta Selgene Herneus de     Bossegham iuxta Selgene, Herneus de 0
4626283 2239179 2239179 defendant Meleneder Ralph     Meleneder, Ralph 1
4626284 2239179 2239179 defendant Spernen William     Spernen, William 2
4626285 2239179 2239179 defendant Bloyowe John   591010 591010 together with Bloyowe, John, of Penryn 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 15.405ms