home / cp40x

names

6 rows where case_id = 2458013

✎ 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
5343049 2458013 2458013 plaintiff Slye John mercer 585869 585869 Slye, John, of London, mercer 0
5343050 2458013 2458013 defendant Carre or Cane Peter chapman 595782 595782 Carre or Cane, Peter, of Dorkyng, Surrey, chapman 0
5343051 2458013 2458013 defendant Webbe William chapman 587346 587346 Webbe, William, of Malmesbury, Wilts, chapman 1
5343052 2458013 2458013 defendant Bonell or Bovell Simon chapman 597548 597548 Bonell or Bovell, Simon, of Rumsey, Hants, chapman 2
5343053 2458013 2458013 defendant Hastyngys Hugh   591256 591256 Hastyngys, Hugh, of Fenwyk, Yorks, knight 3
5343054 2458013 2458013 defendant Alestre Robert gent 586901 586901 Alestre, Robert, of Nottingham,gent 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.239ms