home / cp40x

names

6 rows where case_id = 2397477

✎ 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
5137488 2397477 2397477 plaintiff Pope John     Pope, John 0
5137489 2397477 2397477 defendant Wellys Simons clerk 851543 851543 Wellys, Simons, of Drdeley, clerk 0
5137490 2397477 2397477 defendant Austyn Richard   771458 771458 Austyn, Richard, of Erdeley, malt man 1
5137491 2397477 2397477 defendant Dogge or Bogge William maltman 771458 771458 Dogge or Bogge, William, of Erdeley, maltman 2
5137492 2397477 2397477 defendant Gayler William   654513 654513 Gayler, William, of Little Munden, malt man 3
5137493 2397477 2397477 defendant Fresshewater John husbandman 630707 630707 Fresshewater, John, of Netyswell, Essex, 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 12.081ms