home / cp40x

names

8 rows where case_id = 1907245

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3639757 1907245 1907245 plaintiff Wodward John     Wodward, John 0
3639758 1907245 1907245 defendant Hedd John husbandman 600118 600118 Hedd, John, of Rikmansworth, husbandman 0
3639759 1907245 1907245 defendant Clerk Christopher husbandman 594481 594481 Clerk, Christopher, of Rykmansworth, husbandman 1
3639760 1907245 1907245 defendant Foderley John husbandman 600118 600118 Foderley, John, of Rikmansworth, husbandman 2
3639761 1907245 1907245 defendant Foderley Richard smith 600118 600118 Foderley, Richard, of Rikmansworth, smith 3
3639762 1907245 1907245 defendant Dekyn Richard tailor 600118 600118 Dekyn, Richard, of Rikmansworth, tailor 4
3639763 1907245 1907245 defendant Milsent Thomas husbandman 600118 600118 Milsent, Thomas, of Rikmansworth, husbandman 5
3639764 1907245 1907245 defendant Knyght Richard butcher 600118 600118 Knyght, Richard, of Rikmansworth, butcher 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 17.109ms