home / cp40x

names

5 rows where case_id = 2275646

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4733477 2275646 2275646 plaintiff Redeclyf Richard     Redeclyf, Richard 0
4733478 2275646 2275646 defendant Riche William panketer 588699 588699 Riche, William, of Dene Priour, panketer 0
4733479 2275646 2275646 defendant Riche Robert shoemaker 586036 586036 Riche, Robert, of Exeter, shoemaker 1
4733480 2275646 2275646 defendant Riche John tailor 586036 586036 Riche, John, of Exeter, tailor 2
4733481 2275646 2275646 defendant Greder Henry weaver 645719 645719 Greder, Henry, of Dene Prior, weaver 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 16.725ms