home / cp40x

names

8 rows where case_id = 2343882

✎ 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
4956419 2343882 2343882 plaintiff Tyrell John     Tyrell, John 0
4956420 2343882 2343882 defendant Donet John tinner 590294 590294 Donet, John, of Alternon, tinner 0
4956421 2343882 2343882 defendant Hauke or Hanke John butcher 827133 827133 Hauke or Hanke, John, of Ogloskery, butcher 1
4956422 2343882 2343882 defendant Richer John tinner 590294 590294 Richer, John, of Alternon, tinner 2
4956423 2343882 2343882 defendant Champyon Nicholas tinner 590294 590294 Champyon, Nicholas, of Alternon, tinner 3
4956424 2343882 2343882 defendant Attehay Thomas carpenter 590294 590294 Attehay, Thomas, of Alternon, carpenter 4
4956425 2343882 2343882 defendant Lughtfote Thomas tinner 590294 590294 Lughtfote, Thomas, of Alternon, tinner 5
4956426 2343882 2343882 defendant Hoig- Thomas tinner 827134 827134 Hoig-, Thomas, of Tregowe, tinner 6

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