home / cp40x

names

8 rows where case_id = 2380830

✎ 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
5081033 2380830 2380830 plaintiff Cotes Robert     Cotes, Robert 0
5081034 2380830 2380830 defendant Austell John esq 844097 844097 Austell, John, of Chirchehyll, esq 0
5081035 2380830 2380830 defendant Broughton Nicholas esq 590512 590512 Broughton, Nicholas, of Welyngton, esq 1
5081036 2380830 2380830 defendant Pym Philip gent 843880 843880 Pym, Philip, of Radewey, gent 2
5081037 2380830 2380830 defendant Marshall John gent 844098 844098 Marshall, John, of Evethorn, gent 3
5081038 2380830 2380830 defendant Brytte James yeoman 763457 763457 Brytte, James, of Wylyton, yeoman 4
5081039 2380830 2380830 defendant Lyddon Robert hooper 844099 844099 Lyddon, Robert, of Combecyche, hooper 5
5081040 2380830 2380830 defendant Tryvet William yeoman 782772 782772 Tryvet, William, of Combewyche, yeoman 6

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.527ms