home / cp40x

names

6 rows where case_id = 2275347

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4732522 2275347 2275347 plaintiff Pay_ or Petyt Michael     Pay_ or Petyt, Michael 0
4732523 2275347 2275347 defendant Trethewell John   770339 770339 Trethewell, John, of Trethewell, mason 0
4732524 2275347 2275347 defendant Irys Richard   599163 599163 Irys, Richard, of St Austell, mill ward 1
4732525 2275347 2275347 defendant Bragore William   592044 592044 Bragore, William, of Porthylly, mill ward 2
4732526 2275347 2275347 defendant Mannowe Reginald husbandman 792943 792943 Mannowe, Reginald, of Potchbian, husbandman 3
4732527 2275347 2275347 defendant Mannowe Joan     Joan, his wife 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.772ms