home / cp40x

names

6 rows where case_id = 2342503

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4951759 2342503 2342503 plaintiff Raveley John     Raveley, John 0
4951760 2342503 2342503 defendant Colman Andrew husbandman 778465 778465 Colman, Andrew, of Castre juxta Norwich, husbandman 0
4951761 2342503 2342503 defendant Gardener Simon husbandman 586940 586940 Gardener, Simon, of Baldeswell, husbandman 1
4951762 2342503 2342503 defendant Amerynghale Richard husbandman 591757 591757 Amerynghale, Richard, of Lakenham, husbandman 2
4951763 2342503 2342503 defendant Mabbys Hugh butcher 588931 588931 Mabbys, Hugh, of Horsham St Faith, butcher 3
4951764 2342503 2342503 defendant Rede Thomas fuller 585936 585936 Rede, Thomas, of Norwich, fuller 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 14.493ms