home / cp40x

names

6 rows where case_id = 2466430

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5370713 2466430 2466430 plaintiff Gysburgh John   878991 878991 Gysburgh, John, of York, residentary canon of the Cathedral 0
5370714 2466430 2466430 plaintiff Hert John clerk & under-treasurer of the Cathedral of St Peter 586067 586067 (Hert, John, of York, clerk & under-treasurer of the Cathedral of St Peter 1
5370715 2466430 2466430 plaintiff Latomer Richard notary   Latomer, Richard, notary 2
5370716 2466430 2466430 plaintiff Roper Thomas     Roper, Thomas 3
5370717 2466430 2466430 defendant Artas Thomas clerk 878992 878992 Artas, Thomas, of Lyth, Yorks, clerk 0
5370718 2466430 2466430 defendant Forset Thomas clerk 795797 795797 Forset, Thomas, of Catton, Yorks, clerk 1

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