home / cp40x

names

6 rows where case_id = 2475758

✎ 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
5402394 2475758 2475758 plaintiff Knyght Thomas   689060 689060 Knyght, Thomas, of Lincolnshire, sheriff 0
5402395 2475758 2475758 defendant Spencer John husbandman 589594 589594 Spencer, John, of Quadryng, husbandman 0
5402396 2475758 2475758 defendant Wryght Henry yeoman 589594 589594 Wryght, Henry, of quadryng, yeoman 1
5402397 2475758 2475758 defendant Luchburgh William husbandman 761030 761030 Luchburgh, William, of Welton by Louth, husbandman 2
5402398 2475758 2475758 defendant Bery John husbandman 729003 729003 Bery, John, of Usselby, husbandman 3
5402399 2475758 2475758 defendant Smyth John yeoman 601769 601769 Smyth, John, of Howell, 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 15.144ms