home / cp40x

names

8 rows where case_id = 2013136

✎ 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
3967147 2013136 2013136 plaintiff Bryggs George gent   Bryggs, George, gent 0
3967148 2013136 2013136 defendant Starlyng Clement husbandman 596461 596461 Starlyng, Clement, of Burston, husbandman 0
3967149 2013136 2013136 defendant Burwell William husbandman 596461 596461 Burwell, William, of Burston, husbandman 1
3967150 2013136 2013136 defendant Gavell Roger clerk 594108 594108 Gavell, Roger, of Egefeld, clerk 2
3967151 2013136 2013136 defendant Barker John weaver 641716 641716 Barker, John, of Edgefeld, weaver 3
3967152 2013136 2013136 defendant Clarke Robert carpenter 641716 641716 Clarke, Robert, of Edgefeld, carpenter 4
3967153 2013136 2013136 defendant Cowper Thomas tailor 641716 641716 Cowper, Thomas, of Edgefeld, tailor 5
3967154 2013136 2013136 defendant Otty Thomas yeoman 641716 641716 Otty, Thomas, of Edgefeld, 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.252ms