home / cp40x

names

5 rows where case_id = 2369191

✎ 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
5041945 2369191 2369191 plaintiff Counsell William carpenter 585996 585996 Counsell, William, of Briggewater, carpenter 0
5041946 2369191 2369191 defendant Ryston Robert fuller 585996 585996 Ryston, Robert, of Briggewater, fuller 0
5041947 2369191 2369191 defendant Wely John smith 838780 838780 Wely, John, of Chadesy, smith 1
5041948 2369191 2369191 defendant Scotte Walter, senior husbandman 617117 617117 Scotte, Walter, senior, of Chelton, husbandman 2
5041949 2369191 2369191 defendant Laverance or Laneraunte John dyer 597633 597633 Laverance or Laneraunte, John, of Stawe, dyer 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 14.629ms