home / cp40x

names

6 rows where case_id = 2218325

✎ 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
4557641 2218325 2218325 plaintiff Lardener John   769374 769374 Lardener, John, of Oye, captain of the King's castle 0
4557642 2218325 2218325 defendant Orgere Roger grocer 585869 585869 Orgere, Roger, of London, grocer 0
4557643 2218325 2218325 defendant Wychewode Thomas   587700 587700 Wychewode, Thomas, of Barkeby, vicar 1
4557644 2218325 2218325 defendant Weloweby William   769377 769377 Weloweby, William, of Barkeby, Leics 2
4557645 2218325 2218325 defendant Otewey Thomas   769378 769378 Otewey, Thomas, of Custeworth 3
4557646 2218325 2218325 defendant Hotofte Richard lord of Humberston   Hotofte, Richard, lord of Humberston 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 13.457ms