home / cp40x

names

7 rows where case_id = 2351746

✎ 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
4982728 2351746 2351746 plaintiff Tunman or Timman Robert     Tunman or Timman, Robert 0
4982729 2351746 2351746 defendant Atkynson John yeoman 830334 830334 Atkynson, John, of Torver in Furneys, Lancs, yeoman 0
4982730 2351746 2351746 defendant Dayvell Richard yeoman 830335 830335 Dayvell, Richard, of Newebyland, Yorks, yeoman 1
4982731 2351746 2351746 defendant Brathwayt William yeoman 830406 830406 Brathwayt, William, of Old Byland, Yorks, yeoman 2
4982732 2351746 2351746 defendant Ednam alias Carter Robert yeoman 830407 830407 Ednam alias Carter, Robert, of Landforth, Notts, yeoman 3
4982733 2351746 2351746 defendant Halom Robert husbandman 612899 612899 Halom, Robert, of Landforth, husbandman 4
4982734 2351746 2351746 defendant Burnham John husbandman 612899 612899 Burnham, John, of Landforth, 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 9.533ms