home / cp40x

names

6 rows where case_id = 2034348

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4027123 2034348 2034348 plaintiff Chambers William     Chambers, William 0
4027124 2034348 2034348 defendant Collyar George gent 588371 588371 Collyar, George, of Stone, gent 0
4027125 2034348 2034348 defendant Hynckele John carpenter 677476 677476 Hynckele, John, of Thornehill, carpenter 1
4027126 2034348 2034348 defendant Townesend Thomas carpenter 614004 614004 Townesend, Thomas, of Blythebury, carpenter 2
4027127 2034348 2034348 defendant Wryght Humphrey yeoman 677477 677477 Wryght, Humphrey, of Sereley, yeoman 3
4027128 2034348 2034348 defendant Pulton Humphrey blacksmith 592861 592861 Pulton, Humphrey, of Hylderston, blacksmith 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.651ms