home / cp40x

names

8 rows where case_id = 2312409

✎ 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
4853172 2312409 2312409 plaintiff Whytgreve Roger     Whytgreve, Roger 0
4853173 2312409 2312409 defendant Milner Thomas miller 812955 812955 Milner, Thomas, of Fladburgh, miller 0
4853174 2312409 2312409 defendant Grenes Robert yeoman 764374 764374 Grenes, Robert, of Crophill, yeoman 1
4853175 2312409 2312409 defendant Walke Robert husbandman 594609 594609 Walke, Robert, of Draycote, husbandman 2
4853176 2312409 2312409 defendant Taylour William weaver 586901 586901 Taylour, William, of Nottingham, weaver 3
4853177 2312409 2312409 defendant Plommer John yeoman 586901 586901 Plommer, John, of Nottingham, yeoman 4
4853178 2312409 2312409 defendant Baker John husbandman 792106 792106 Baker, John, of Hemyngton, Leics, husbandman 5
4853179 2312409 2312409 defendant Rakedale Thomas weaver 758575 758575 Rakedale, Thomas, of Aslocton, weaver 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 16.723ms