home / cp40x

names

7 rows where case_id = 2196475

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4486456 2196475 2196475 plaintiff Salisbury William de Monte Acute or Montague Earl of   Salisbury, William de Monte Acute or Montague, Earl of 0
4486457 2196475 2196475 defendant Walton Henry     Walton, Henry 0
4486458 2196475 2196475 defendant Hay John     Hay, John 1
4486459 2196475 2196475 defendant Esse John   602707 602707 Esse, John, of Kyngesclere 2
4486460 2196475 2196475 defendant Frethe John   762076 762076 Frethe, John, of Bagherst 3
4486461 2196475 2196475 defendant Watre Richard atte   590410 590410 Watre, Richard atte, of Marleburgh 4
4486462 2196475 2196475 defendant Oxherde Nicholas   592525 592525 Oxherde, Nicholas, of Wolverton 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 14.219ms