home / cp40x

names

6 rows where case_id = 2437207

✎ 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
5273108 2437207 2437207 plaintiff Lyhert Walter   603225 603225 Lyhert, Walter, of Norwich, bishop 0
5273109 2437207 2437207 defendant Sayho John yeoman 590740 590740 Sayho, John, of Rollesby, yeoman 0
5273110 2437207 2437207 defendant Cheteryng William   652592 652592 Cheteryng, William, of Skeyton, parson 1
5273111 2437207 2437207 defendant Stamiowe Lawrence   587587 587587 Stamiowe, Lawrence, of Oxwyk, parson 2
5273112 2437207 2437207 defendant Cappe John   628017 628017 Cappe, John, of East Wynche, parson 3
5273113 2437207 2437207 defendant Quarles John mercer 590798 590798 Quarles, John, of Gresham, mercer 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 14.624ms