home / cp40x

names

9 rows where case_id = 2380064

✎ 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
5078488 2380064 2380064 plaintiff Broun John     Broun, John 0
5078489 2380064 2380064 defendant Donnold John, junior yeoman 644453 644453 Donnold, John, junior, of Colne, yeoman 0
5078490 2380064 2380064 defendant Yon John husbandman 644453 644453 Yon, John, of Colne, husbandman 1
5078491 2380064 2380064 defendant Preston Thomas husbandman 644453 644453 Preston, Thomas, of Colne, husbandman 2
5078492 2380064 2380064 defendant Pidle Robert husbandman 644453 644453 Pidle, Robert, of Colne, husbandman 3
5078493 2380064 2380064 defendant Herte John husbandman 644453 644453 Herte, John, of Colne, husbandman 4
5078494 2380064 2380064 defendant Yon Robert husbandman 644453 644453 Yon, Robert, of Colne, husbandman 5
5078495 2380064 2380064 defendant Sampson Roger husbandman 644453 644453 Sampson, Roger, of Colne, husbandman 6
5078496 2380064 2380064 defendant Sampson William husbandman 644453 644453 Sampson, William, of Colne, husbandman 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 12.761ms