home / cp40x

names

6 rows where case_id = 2303484

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4823630 2303484 2303484 plaintiff Strangeways John     Strangeways, John 0
4823631 2303484 2303484 defendant Coveley or Coneley Roger gent 808024 808024 Coveley or Coneley, Roger, of Colwalle, Herefs, gent 0
4823632 2303484 2303484 defendant Coveley or Coneley Simon husbandman 653064 653064 Coveley or Coneley, Simon, of Elmore, Gloucs, husbandman 1
4823633 2303484 2303484 defendant Frere Geoffrey chapman 780768 780768 Frere, Geoffrey, of Worcester, Worcs, chapman 2
4823634 2303484 2303484 defendant Bradwey Thomas merchant 586318 586318 Bradwey, Thomas, of Worcester, merchant 3
4823635 2303484 2303484 defendant Turnour Richard turner 751414 751414 Turnour, Richard, of Estnore, Herefs, turner 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.412ms