home / cp40x

names

9 rows where case_id = 2201782

✎ 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
4503900 2201782 2201782 plaintiff Prior Stephen   587287 587287 Prior, Stephen, of Launceston 0
4503901 2201782 2201782 defendant Cogan Walter   764191 764191 Cogan, Walter, of Pogghewyll, vicar 0
4503902 2201782 2201782 defendant Ayston John     Ayston, John 1
4503903 2201782 2201782 defendant Rede Nicholas     Rede, Nicholas 2
4503904 2201782 2201782 defendant Pegghewyll Page de     Pegghewyll, Page de 3
4503905 2201782 2201782 defendant Pynnour John   759650 759650 Pynnour, John, of Calyngton 4
4503906 2201782 2201782 defendant Bogheway John     Bogheway, John 5
4503907 2201782 2201782 defendant Pil William   592971 592971 Pil, William, of Tallan 6
4503908 2201782 2201782 defendant Landyare John   764192 764192 Landyare, John, of Bulo 7

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