home / cp40x

names

6 rows where case_id = 2271149

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4718578 2271149 2271149 plaintiff Baret Thomas   685531 685531 Baret, Thomas, of Chesterfield 0
4718579 2271149 2271149 defendant Shoter Robert yeoman 596006 596006 Shoter, Robert, of Hegham, yeoman 0
4718580 2271149 2271149 defendant Melburne William gent 790441 790441 Melburne, William, of Sutton by Etwell, gent 1
4718581 2271149 2271149 defendant Wydoson Robert husbandman 628684 628684 Wydoson, Robert, of Wyngreworth, husbandman 2
4718582 2271149 2271149 defendant Foler Mathew draper 790442 790442 Foler, Mathew, of Polokeshill, Beds, draper 3
4718583 2271149 2271149 defendant Milward othe Amelet William chapman 790443 790443 Milward othe Amelet, William, of the Fold, Beds, chapman 4

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