home / cp40x

names

7 rows where case_id = 1975677

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3856556 1975677 1975677 plaintiff Wykes Nicholas esq   Wykes, Nicholas, esq 0
3856557 1975677 1975677 defendant Daunse William husbandman 608270 608270 Daunse, William, of Wodmancote, husbandman 0
3856558 1975677 1975677 defendant Browne Thomas weaver 608270 608270 Browne, Thomas, of Wodmancote, weaver 1
3856559 1975677 1975677 defendant Tukker Philip tucker 608270 608270 Tukker, Philip, of Wodmancote, tucker 2
3856560 1975677 1975677 defendant Mayle Henry weaver 608270 608270 Mayle, Henry, of Wodmancote, weaver 3
3856561 1975677 1975677 defendant Spencer John tucker 608270 608270 Spencer, John, of Wodmancote, tucker 4
3856562 1975677 1975677 defendant Trotman Nicholas weaver 590141 590141 Trotman, Nicholas, of Dursley, weaver 5

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