home / cp40x

names

10 rows where case_id = 2388155

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5105854 2388155 2388155 plaintiff Copley William     Copley, William 0
5105855 2388155 2388155 plaintiff Copley Thomas     Copley, Thomas 1
5105856 2388155 2388155 defendant Underwode John shoemaker 588730 588730 Underwode, John, of Kyghley, shoemaker 0
5105857 2388155 2388155 defendant Rycroft John fuller 588730 588730 Rycroft, John, of Kyghley, fuller 1
5105858 2388155 2388155 defendant Sharp Henry husbandman 588730 588730 Sharp, Henry, of Kyghley, husbandman 2
5105859 2388155 2388155 defendant Hertley William weaver 588730 588730 Hertley, William, of Kyghley, weaver 3
5105860 2388155 2388155 defendant Sugden Robert tailor 588730 588730 Sugden, Robert, of Kyghley, tailor 4
5105861 2388155 2388155 defendant Shakylton Geoffrey yeoman 588730 588730 Shakylton, Geoffrey, of Kyghley, yeoman 5
5105862 2388155 2388155 defendant Raulyn John, junior yeoman 588730 588730 Raulyn, John, junior, of Kyghley, yeoman 6
5105863 2388155 2388155 defendant Raulyn John, senior yeoman 588730 588730 Raulyn, John, senior, of Kyghley, yeoman 7

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 17.48ms