home / cp40x

names

6 rows where case_id = 2523596

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5562372 2523596 2523596 plaintiff Williams John     Williams, John 0
5562373 2523596 2523596 defendant Wyngston Hugh clerk 587004 587004 Wyngston, Hugh, of Preston, clerk 0
5562374 2523596 2523596 defendant Baker Roger   587134 587134 Baker, Roger, of Hallyng yeoman 1
5562375 2523596 2523596 defendant A Wode Thomas gent 589943 589943 A Wode, Thomas, of Rochester, gent 2
5562376 2523596 2523596 defendant Vistboll Richard yeoman 596550 596550 Vistboll, Richard, of Rochester St Margaret, yeoman 3
5562377 2523596 2523596 defendant Smyth Lawrence yeoman 596550 596550 Smyth, Lawrence, of Rochester St Margaret, yeoman 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.406ms