home / cp40x

names

6 rows where case_id = 2377848

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5071092 2377848 2377848 plaintiff Smyth Robert     Smyth, Robert 0
5071093 2377848 2377848 defendant Bukley William   588089 588089 Bukley, William, of Bakewell, wright 0
5071094 2377848 2377848 defendant Welde John   612713 612713 Welde, John, of Halom, mason 1
5071095 2377848 2377848 defendant Vygore John yeoman 591489 591489 Vygore, John, of Monyasshe, yeoman 2
5071096 2377848 2377848 defendant Smyth Henry husbandman 774245 774245 Smyth, Henry, of Rollesley, husbandman 3
5071097 2377848 2377848 defendant Berdall Ralph husbandman 588089 588089 together with Berdall, Ralph, of Bakewell, husbandman 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 16.029ms