home / cp40x

names

5 rows where case_id = 2258745

✎ 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
4678051 2258745 2258745 plaintiff Hervy William, junior     Hervy, William, junior 0
4678052 2258745 2258745 defendant Bagge Roger sadler 599869 599869 Bagge, Roger, of Lostwythyell, sadler 0
4678053 2258745 2258745 defendant Groke William husbandman 599869 599869 Groke, William, of Lostwythyell, husbandman 1
4678054 2258745 2258745 defendant Hervy William, senior fisher 782550 782550 Hervy, William, senior, of Brygende by Lostwythiell, fisher 2
4678055 2258745 2258745 defendant Hervy Walter laboer 782551 782551 Hervy, Walter, of Tregarys, laboer 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.171ms