home / cp40x

names

7 rows where case_id = 1964471

✎ 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
3821031 1964471 1964471 plaintiff Robardys William attorney   Robardys, William, attorney 0
3821032 1964471 1964471 defendant Edgore Thomas shoemaker 585934 585934 Edgore, Thomas, of Becclys, shoemaker 0
3821033 1964471 1964471 defendant Depyng William tailor 602414 602414 Depyng, William, of Bongey, tailor 1
3821034 1964471 1964471 defendant Venyour John husbandman 622319 622319 Venyour, John, of Flyxston, husbandman 2
3821035 1964471 1964471 defendant Cowper William     Cowper, William 3
3821036 1964471 1964471 defendant Sancrofte   husbandman   Sancrofte, husbandman 4
3821037 1964471 1964471 defendant Broke Robert mariner 592901 592901 Broke, Robert, of Walberswyk, mariner 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 13.542ms