home / cp40x

names

6 rows where case_id = 1972147

✎ 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
3845497 1972147 1972147 plaintiff FitzWilliam George knight   FitzWilliam, George, knight 0
3845498 1972147 1972147 defendant Langton James yeoman 638890 638890 Langton, James, of Skyllyngthorp, yeoman 0
3845499 1972147 1972147 defendant Wylson Thomas yeoman 590820 590820 Wylson, Thomas, of Faldyngworth, yeoman 1
3845500 1972147 1972147 defendant Rycrofte John yeoman 596999 596999 Rycrofte, John, of Styrton, yeoman 2
3845501 1972147 1972147 defendant Salmon Richard yeoman 638891 638891 Salmon, Richard, of Bamburghe, yeoman 3
3845502 1972147 1972147 defendant Sympson John yeoman 633805 633805 Sympson, John, of Barwell, 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 7.057ms