home / cp40x

names

6 rows where place_id = 599750

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3638126 1906742 1906742 defendant Key William husbandman 599750 599750 Key, William, of Market Rason, husbandman 0
3918209 1996423 1996423 defendant Baldok Hamon shoemaker 599750 599750 Baldok, Hamon, of Market Rason, shoemaker 0
4107610 2063003 2063003 defendant Rawlingson Thomas tanner 599750 599750 Rawlingson, Thomas, of Market Rason, tanner 0
4336635 2142539 2142539 defendant Johnson John glover 599750 599750 Johnson, John, of Market Rason, glover 3
4583166 2226160 2226160 defendant Jamesson John   599750 599750 Jamesson, John, of Market Rason 0
4887812 2323017 2323017 plaintiff Cisson John   599750 599750 Cisson, John, of Market Rason 0

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.439ms