home / cp40x

names

8 rows where case_id = 2356525

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4998786 2356525 2356525 plaintiff Kyam William     Kyam, William 0
4998787 2356525 2356525 defendant Pek Robert of Hill poulter   Pek, Robert of Hill, poulter 0
4998788 2356525 2356525 defendant Herst John chapman 592186 592186 Herst, John, of North Allerton, chapman 1
4998789 2356525 2356525 defendant Kyldall Richard   647411 647411 Kyldall, Richard, of Burbryg, mustard maker 2
4998790 2356525 2356525 defendant godley Henry smith 587367 587367 godley, Henry, of Rothewell, smith 3
4998791 2356525 2356525 defendant Kornfforth Thomas smith 832883 832883 Kornfforth, Thomas, of Kyrk Leventon, by Yarom, smith 4
4998792 2356525 2356525 defendant Alle John smith 832884 832884 Alle, John, of Lodyston, smith 5
4998793 2356525 2356525 defendant Karlynghom William   832885 832885 Karlynghom, William, of Darton by Wakefeld, nail maker 6

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.22ms