home / cp40x

names

6 rows where place_id = 784868

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4689315 2262218 2262218 defendant Selley John yeoman 784868 784868 Selley, John, of Lynton, Derbs, yeoman 2
4936900 2337917 2337917 defendant Smyth William husbandman 784868 784868 Smyth, William, of Lynton, Derbs, husbandman 0
5141743 2398698 2398698 defendant Smyth Thomas yeoman 784868 784868 Smyth, Thomas, of Lynton, Derbs, yeoman 3
5162853 2404855 2404855 defendant Smyth Thomas yeoman 784868 784868 Smyth, Thomas, of Lynton, Derbs, yeoman 1
5187293 2412010 2412010 defendant Smyth Thomas   784868 784868 Smyth, Thomas, of Lynton, Derbs, cartwright 1
5199067 2415478 2415478 defendant Smyth Thomas yeoman 784868 784868 Smyth, Thomas, of Lynton, Derbs, yeoman 2

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