home / cp40x

names

6 rows where case_id = 2448923

✎ 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
5313012 2448923 2448923 plaintiff Benfeld John     Benfeld, John 0
5313013 2448923 2448923 defendant Salkell or Sawell John husbandman 872168 872168 Salkell or Sawell, John, of Watton atte Sone, husbandman 0
5313014 2448923 2448923 defendant Merden John butcher 586172 586172 Merden, John, of Hertford, butcher 1
5313015 2448923 2448923 defendant Colte John maltman 613154 613154 Colte, John, of Parva Mundon, maltman 2
5313016 2448923 2448923 defendant Curtes Richard miller 602602 602602 Curtes, Richard, of Sacombe, miller 3
5313017 2448923 2448923 defendant Doket John husbandman 594158 594158 Doket, John, of Denge, husbandman 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.184ms