home / cp40x

names

6 rows where case_id = 2282396

✎ 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
4756481 2282396 2282396 plaintiff Benteley Richard     Benteley, Richard 0
4756482 2282396 2282396 defendant Rodyngton Robert gent 605085 605085 Rodyngton, Robert, of Rodyngton, gent 0
4756483 2282396 2282396 defendant Wuke Cassandra widow 586697 586697 Wuke, Cassandra, of Shrewsbury, widow 1
4756484 2282396 2282396 defendant Taty David chaplain 797456 797456 Taty, David, of Clove or Clun, in the Welsh Marches, chaplain 2
4756485 2282396 2282396 defendant Grafton Robert yeoman 797457 797457 Grafton, Robert, of Bridgend by Temedebury, yeoman 3
4756486 2282396 2282396 defendant Marche Thomas yeoman 797458 797458 Marche, Thomas, of Urles Dodyngton, yeoman 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 13.118ms