home / cp40x

names

6 rows where case_id = 1999934

✎ 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
3928691 1999934 1999934 plaintiff Bowes Edward haberdasher 585869 585869 Bowes, Edward, of London, haberdasher 0
3928692 1999934 1999934 defendant Sterne Thomas   692651 692651 Sterne, Thomas, of Barkwaye, Herts, inn holder 0
3928693 1999934 1999934 defendant Mackandar Thomas merchant 653412 653412 Mackandar, Thomas, of King's Lynn, Norf, merchant 1
3928694 1999934 1999934 defendant Laurens John gent 585869 585869 Laurens, John, of London, gent 2
3928695 1999934 1999934 defendant Dewson Thomas mercer 653468 653468 Dewson, Thomas, of Redforth in Cleye, or Retford, Notts, mercer 3
3928696 1999934 1999934 defendant Aston Robert gent 585869 585869 Aston, Robert, of London, 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.765ms