home / cp40x

names

5 rows where place_id = 766782

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4531901 2210242 2210242 defendant Bloy John   766782 766782 Bloy, John, of E_ 4
4563438 2220137 2220137 defendant Pernell John   766782 766782 Pernell, John, of E_ 0
5300768 2445191 2445191 defendant Roos John yeoman 766782 766782 Roos, John, of E_, yeoman 1
5390842 2472445 2472445 defendant Monk_y John draper 766782 766782 Monk_y, John, of E_, draper 0
5446709 2488912 2488912 defendant Caldewell Thomas merchant 766782 766782 Caldewell, Thomas, of E_, merchant 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 17.844ms