home / cp40x

names

6 rows where case_id = 1919692

✎ 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
3679615 1919692 1919692 plaintiff Pole John gent 586697 586697 Pole, John, of Shrewsbury, gent 0
3679616 1919692 1919692 defendant Sanke or Sauke Hugh yeoman 609662 609662 Sanke or Sauke, Hugh, of Libotwod, yeoman 0
3679617 1919692 1919692 defendant ap Gyttyn Hugh ap Jenin yeoman 586697 586697 ap Gyttyn, Hugh ap Jenin, of Shrewsbury, yeoman 1
3679618 1919692 1919692 defendant Lyster John gent 609663 609663 Lyster, John, of Rowton, gent 2
3679619 1919692 1919692 defendant ap Robart Peter yeoman 609664 609664 ap Robart, Peter, of Pola, March of Wales, yeoman 3
3679620 1919692 1919692 defendant ap David Jenin yeoman 609665 609665 ap David, Jenin, of Loghton juxta Alberbury, 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 14.169ms