home / cp40x

names

6 rows where case_id = 2509189

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5513866 2509189 2509189 plaintiff Plomer Thomas     Plomer, Thomas 0
5513867 2509189 2509189 defendant Crofte Walter yeoman 664114 664114 Crofte, Walter, of Narforth, yeoman 0
5513868 2509189 2509189 defendant Heygryne or Heygryve Richard husbandman 593689 593689 Heygryne or Heygryve, Richard, of Wrotton, husbandman 1
5513869 2509189 2509189 defendant Malet Henry yeoman 895236 895236 Malet, Henry, of Cley juxta Wafham, yeoman 2
5513870 2509189 2509189 defendant Mandolf Robert shoemaker 590542 590542 Mandolf, Robert, of Fouldon, shoemaker 3
5513871 2509189 2509189 defendant Straget William yeoman 593812 593812 Straget, William, of Sholdham, 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.043ms