home / cp40x

names

6 rows where case_id = 2306901

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4834840 2306901 2306901 plaintiff Curteys Thomas clerk   Curteys, Thomas, clerk 0
4834841 2306901 2306901 plaintiff Middelham John chaplain   Middelham, John, chaplain 1
4834842 2306901 2306901 plaintiff Chesham John writer of Court writs 585869 585869 Chesham, John, of London, writer of Court writs 2
4834843 2306901 2306901 plaintiff Harrys John skinner 585869 585869 Harrys, John, of London, skinner 3
4834844 2306901 2306901 defendant Bedll William gent 701011 701011 Bedll, William, of Writle, Essex, gent 0
4834845 2306901 2306901 defendant Smyth John yeoman 718477 718477 Smyth, John, of Writle, yeoman 1

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 22.419ms