home / cp40x

names

6 rows where case_id = 1909789

✎ 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
3648054 1909789 1909789 plaintiff Mellours Robert bellfounder 586901 586901 Mellours, Robert, of Nottingham, bellfounder 0
3648055 1909789 1909789 defendant Walsall Thomas gent 602014 602014 Walsall, Thomas, of Malpas, Cheshire, gent 0
3648056 1909789 1909789 defendant de le Hethe John yeoman 602015 602015 de le Hethe, John, of Hampton, Malpas, yeoman 1
3648057 1909789 1909789 defendant Holker John yeoman 602016 602016 Holker, John, of Edge, Malpas, yeoman 2
3648058 1909789 1909789 defendant Ketyll Peter yeoman 602017 602017 Ketyll, Peter, of Malpas, yeoman 3
3648059 1909789 1909789 defendant Webster Randolph yeoman 602018 602018 Webster, Randolph, of Bykley, Malpas, 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 15.96ms