home / cp40x

names

6 rows where case_id = 1995306

✎ 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
3914825 1995306 1995306 plaintiff Clerk Robert   612454 612454 Clerk, Robert, of Wynfarthyng 0
3914826 1995306 1995306 defendant Broun Robert butcher 588071 588071 Broun, Robert, of Multon, butcher 0
3914827 1995306 1995306 defendant Kempe Thomas smith 650944 650944 Kempe, Thomas, of Thaston, smith 1
3914828 1995306 1995306 defendant Sherwyn Nicholas   588542 588542 Sherwyn, Nicholas, of Carleton Rode, collar maker 2
3914829 1995306 1995306 defendant Folser John butcher 587418 587418 Folser, John, of Dysse, butcher 3
3914830 1995306 1995306 defendant Kent John husbandman 586233 586233 Kent, John, of Attylburgh, husbandman 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 16.687ms