home / cp40x

names

6 rows where case_id = 2028714

✎ 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
4011013 2028714 2028714 plaintiff Penson John leather seller 585869 585869 Penson, John, of London, leather seller 0
4011014 2028714 2028714 defendant Hewlett William weaver 620411 620411 Hewlett, William, of Elsted, Surrey, weaver 0
4011015 2028714 2028714 defendant Benbricke Ralph yeoman 673712 673712 Benbricke, Ralph, of South Farnham, Surrey, yeoman 1
4011016 2028714 2028714 defendant Chetie alias Bocher John clothier 659364 659364 Chetie alias Bocher, John, of Godalmyn, Surrey, clothier 2
4011017 2028714 2028714 defendant Denyor Thomas, junior clothier 631086 631086 Denyor, Thomas, junior, of Godalmyn, clothier 3
4011018 2028714 2028714 defendant Pole Thomas butcher 627705 627705 Pole, Thomas, of Orpyngton, Kent, butcher 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 16.37ms