home / cp40x

names

5 rows where case_id = 2449597

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5315185 2449597 2449597 plaintiff Clopton John esq   Clopton, John, esq 0
5315186 2449597 2449597 defendant Talbon Robert weaver 586912 586912 Talbon, Robert, of Melford, weaver 0
5315187 2449597 2449597 defendant Johnson Henry   586953 586953 Johnson, Henry, of Sudbury, brick maker 1
5315188 2449597 2449597 defendant Dowe Lawrence yeoman 586912 586912 Dowe, Lawrence, of Melford, yeoman 2
5315189 2449597 2449597 defendant Worlych or Wolrych John   598611 598611 Worlych or Wolrych, John, of Stansted, mason 3

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