home / cp40x

names

6 rows where case_id = 1919693

✎ 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
3679621 1919693 1919693 plaintiff Pole John gent 586697 586697 Pole, John, of Shrewsbury, gent 0
3679622 1919693 1919693 defendant Sauke or Sanke Hugh yeoman 609662 609662 Sauke or Sanke, Hugh, of Libotwod, yeoman 0
3679623 1919693 1919693 defendant ap Gyttyn John ap Jenn yeoman 609666 609666 ap Gyttyn, John ap Jenn, of Shrewbury, yeoman 1
3679624 1919693 1919693 defendant Lyster John gent 609663 609663 Lyster, John, of Rowton, gent 2
3679625 1919693 1919693 defendant ap Robert Peter yeoman 609664 609664 ap Robert, Peter, of Pola, March of Wales, yeoman 3
3679626 1919693 1919693 defendant ap David Henn yeoman 609665 609665 ap David, Henn, 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 13.804ms