home / cp40x

names

6 rows where case_id = 2470743

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5384857 2470743 2470743 plaintiff Brent Roger     Brent, Roger 0
5384858 2470743 2470743 plaintiff Billesden Robert     Billesden, Robert 1
5384859 2470743 2470743 defendant Steward Richard gent 881226 881226 Steward, Richard, of Great Paryngdon, Essex, gent 0
5384860 2470743 2470743 defendant Steward Thomas yeoman 881227 881227 Steward, Thomas, of Great Paryngdon or Parndon, Essex, yeoman 1
5384861 2470743 2470743 defendant Cappe John yeoman 881228 881228 Cappe, John, of Great Bentley, Essex, yeoman 2
5384862 2470743 2470743 defendant Feynt William yeoman 652949 652949 Feynt, William, of Rydon, Essex, yeoman 3

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