home / cp40x

names

5 rows where case_id = 2297367

✎ 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
4803788 2297367 2297367 plaintiff Beauly William     Beauly, William 0
4803789 2297367 2297367 defendant Symson John yeoman 804498 804498 Symson, John, of Soureby Wood, yeoman 0
4803790 2297367 2297367 defendant Jouby or Iouby Clement yeoman 804499 804499 Jouby or Iouby, Clement, of Joueby of Ioueby, yeoman 1
4803791 2297367 2297367 defendant Hughson Alan husbandman 804497 804497 Hughson, Alan, of Dondrawe, husbandman 2
4803792 2297367 2297367 defendant Feman John yeoman 600820 600820 Feman, John, of Wigton, yeoman 3

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