home / cp40x

names

6 rows where case_id = 1945797

✎ 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
3762126 1945797 1945797 plaintiff Fylyp John     Fylyp, John 0
3762127 1945797 1945797 defendant Gaunt Thomas yeoman 588847 588847 Gaunt, Thomas, of Congham, yeoman 0
3762128 1945797 1945797 defendant Parkynson John butcher 602515 602515 Parkynson, John, of Bawsey, butcher 1
3762129 1945797 1945797 defendant Russell Robert husbandman 588845 588845 Russell, Robert, of Grymston, husbandman 2
3762130 1945797 1945797 defendant Crathorn William husbandman 585908 585908 Crathorn, William, of Hyllyngton, husbandman 3
3762131 1945797 1945797 defendant Colbrond Stephen husbandman 606065 606065 Colbrond, Stephen, of Gaywood, 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 15.972ms