home / cp40x

names

8 rows where case_id = 2381052

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5081787 2381052 2381052 plaintiff Dautre or Dantre John     Dautre or Dantre, John 0
5081788 2381052 2381052 plaintiff Banke Richard     Banke, Richard 1
5081789 2381052 2381052 defendant Anderton John yeoman 844188 844188 Anderton, John, of Herwode, yeoman 0
5081790 2381052 2381052 defendant Wilson John, senior yeoman 842755 842755 Wilson, John, senior, of Wyghell, yeoman 1
5081791 2381052 2381052 defendant Wilson John, junior husbandman 842755 842755 Wilson, John, junior, of Wyghell, husbandman 2
5081792 2381052 2381052 defendant Rousley or Ronsley John, senior yeoman 842755 842755 Rousley or Ronsley, John, senior, of Wyghell, yeoman 3
5081793 2381052 2381052 defendant Casteley John, senior yeoman 842755 842755 Casteley, John, senior, of Wyghell, yeoman 4
5081794 2381052 2381052 defendant Clerke Thomas yeoman 775347 775347 Clerke, Thomas, of Skalton, yeoman 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 16.438ms