home / cp40x

names

7 rows where case_id = 2521374

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5554575 2521374 2521374 plaintiff Hilton John     Hilton, John 0
5554576 2521374 2521374 defendant Musgrave Edward esq 778883 778883 Musgrave, Edward, of Hartlay, esq 0
5554577 2521374 2521374 defendant Musgrave Thomas gent 586397 586397 Musgrave, Thomas, of Morton, gent 1
5554578 2521374 2521374 defendant Gowelen John, senior husbandman 586397 586397 Gowelen, John, senior, of Morton, husbandman 2
5554579 2521374 2521374 defendant Gowelen John, junior husbandman 586397 586397 Gowelen, John, junior, of Morton, husbandman 3
5554580 2521374 2521374 defendant Hanson John husbandman 586397 586397 Hanson, John, of Morton, husbandman 4
5554581 2521374 2521374 defendant Hudson Robert husbandman 586397 586397 Hudson, Robert, of Morton, husbandman 5

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 16.601ms