home / cp40x

names

6 rows where case_id = 2282845

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4757894 2282845 2282845 plaintiff Broun Thomas husbandman 757461 757461 Broun, Thomas, of Pertenhale, husbandman 0
4757895 2282845 2282845 defendant Altheworld John husbandman 704957 704957 Altheworld, John, of Groffham, Hunts, husbandman 0
4757896 2282845 2282845 defendant Capron Henry butcher 586779 586779 Capron, Henry, of Brampton, butcher 1
4757897 2282845 2282845 defendant Belle John butcher 797727 797727 Belle, John, of Pyrys, butcher 2
4757898 2282845 2282845 defendant Cobbe Richard   767877 767877 Cobbe, Richard, of Bletnesho 3
4757899 2282845 2282845 defendant Broun William husbandman 772568 772568 Broun, William, of Netherdene, husbandman 4

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