home / cp40x

names

5 rows where case_id = 2472648

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5391520 2472648 2472648 plaintiff Platfote Ralph     Platfote, Ralph 0
5391521 2472648 2472648 defendant Baret Thomas husbandman 587414 587414 Baret, Thomas, of Thetford, husbandman 0
5391522 2472648 2472648 defendant Dex Walter husbandman 882153 882153 Dex, Walter, of Waller, husbandman 1
5391523 2472648 2472648 defendant Rycherys William husbandman 608972 608972 Rycherys, William, of Marcham, husbandman 2
5391524 2472648 2472648 defendant Goodwyn Robert husbandman 599537 599537 Goodwyn, Robert, of Foulden, 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 14.822ms