home / cp40x

names

6 rows where place_id = 674528

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4014414 2029878 2029878 defendant Bolton Lawrence clothier 674528 674528 Bolton, Lawrence, of Blackborne, Lancs, clothier 0
4016562 2030629 2030629 defendant Laylond William yeoman 674528 674528 Laylond, William, of Blackborne, Lancs, yeoman 2
4054036 2043825 2043825 defendant Holden Thomas chapman 674528 674528 Holden, Thomas, of Blackborne, Lancs, chapman 1
4071545 2050117 2050117 defendant Hanworth Thomas innkeeper 674528 674528 Hanworth, Thomas, of Blackborne, Lancs, innkeeper 0
4074609 2051221 2051221 defendant Sharpeles Randolph chapman 674528 674528 Sharpeles, Randolph, of Blackborne, Lancs, chapman 0
4108076 2063163 2063163 defendant Haworthe John yeoman 674528 674528 Haworthe, John, of Blackborne, Lancs, yeoman 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 16.474ms