home / cp40x

names

6 rows where case_id = 2527417

✎ 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
5575463 2527417 2527417 plaintiff (not given) Robert prior of St Katherine Priory, Lincoln   St Katherine Priory, Lincoln, Robert, prior of 0
5575464 2527417 2527417 defendant Portewes John husbandman 615272 615272 Portewes, John, of Kelstron, husbandman 0
5575465 2527417 2527417 defendant Jonson Thomas husbandman 901856 901856 Jonson, Thomas, of Brasbrige, husbandman 1
5575466 2527417 2527417 defendant Hobson Simon husbandman 586981 586981 Hobson, Simon, of Louth, husbandman 2
5575467 2527417 2527417 defendant Andrewson John husbandman 615272 615272 Andrewson, John, of Kelstron, husbandman 3
5575468 2527417 2527417 defendant Botteler Richard husbandman 587217 587217 Botteler, Richard, of Willyngham, 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.073ms