home / cp40x

names

7 rows where case_id = 2334964

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4927255 2334964 2334964 plaintiff Rous John mercer 586846 586846 Rous, John, of Lincoln, mercer 0
4927256 2334964 2334964 defendant atte Halle John gent & son of John 597124 597124 atte Halle, John, of Waynflete, gent & son of John 0
4927257 2334964 2334964 defendant atte Halle John gent 586846 586846 atte Halle, John, of Lincoln, gent 1
4927258 2334964 2334964 defendant Payn Thomas dyer 586963 586963 Payn, Thomas, of Grantham, Lincs, dyer 2
4927259 2334964 2334964 defendant Thorleby William   823284 823284 Thorleby, William, of Thursk, Yorks, "happur" 3
4927260 2334964 2334964 defendant Lows John tanner 793175 793175 Lows, John, of Thirsk, Yorks, tanner 4
4927261 2334964 2334964 defendant Smeth Thomas smith 823285 823285 Smeth, Thomas, of Thirk, smith 5

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.951ms