home / cp40x

names

7 rows where case_id = 2490017

✎ 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
5450434 2490017 2490017 plaintiff Pullan William     Pullan, William 0
5450435 2490017 2490017 defendant Bramley Thomas laborer 888888 888888 Bramley, Thomas, of Cryskell, laborer 0
5450436 2490017 2490017 defendant Fayrebarn Robert laborer 888889 888889 Fayrebarn, Robert, of Popylton by Weton, laborer 1
5450437 2490017 2490017 defendant Locok John jun, of Hoby, yeoman   Locok, John, jun, of Hoby, yeoman 2
5450438 2490017 2490017 defendant Bayoke William yeoman 888890 888890 Bayoke, William, of Brunyate, yeoman 3
5450439 2490017 2490017 defendant Walker William yeoman 594874 594874 Walker, William, of Hamsthwayte, yeoman 4
5450440 2490017 2490017 defendant Halyfax John butcher 608458 608458 Halyfax, John, of Letheley, butcher 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 17.166ms