home / cp40x

names

5 rows where place_id = 686011

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation

id ▼ case_id role surname forename occupation place_id raw_segment seq
4064909 2047734 2047734 defendant Dissney Giles gent 686011 686011 Dissney, Giles, of Habroughe, gent 0
4138229 2074041 2074041 defendant Willingham John husbandman 686011 686011 Willingham, John, of Habroughe, husbandman 3
4149774 2078045 2078045 defendant Middoppe Christopher laborer 686011 686011 Middoppe, Christopher, of Habroughe, laborer 2
4185910 2090563 2090563 defendant Gillingham John husbandman 686011 686011 Gillingham, John, of Habroughe, husbandman 4
4185920 2090564 2090564 defendant Byllyngham John husbandman 686011 686011 Byllyngham, John, of Habroughe, husbandman 5

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 14.224ms