home / cp40x

names

6 rows where case_id = 1962737

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3815410 1962737 1962737 plaintiff Halke or Hawe James gent   Halke or Hawe, James, gent 0
3815411 1962737 1962737 defendant Musswytt John butcher 596744 596744 Musswytt, John, of Crowmer, butcher 0
3815412 1962737 1962737 defendant Mone Robert husbandman 633875 633875 Mone, Robert, of Larlyngsett, husbandman 1
3815413 1962737 1962737 defendant Durraunt Simon husbandman 590845 590845 Durraunt, Simon, of Gunton, husbandman 2
3815414 1962737 1962737 defendant Caron John husbandman 633876 633876 Caron, John, of Runnam, husbandman 3
3815415 1962737 1962737 defendant Barton George husbandman 596744 596744 Barton, George, of Crowmer, 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 9.601ms