home / cp40x

names

5 rows where place_id = 787351

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4702035 2266047 2266047 defendant Parker John laborer 787351 787351 Parker, John, of the town of St Albans, laborer 4
4735434 2276227 2276227 defendant Thornton William husbandman 787351 787351 Thornton, William, of the town of St Albans, husbandman 0
4849300 2311260 2311260 defendant Newebery John ostler 787351 787351 Newebery, John, of the town of St Albans, ostler 1
4849302 2311260 2311260 defendant Felse John brewer 787351 787351 Felse, John, of the town of St Albans, brewer 3
5309125 2447767 2447767 defendant Russell William gent 787351 787351 Russell, William, of the town of St Albans, gent 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 13.455ms