home / cp40x

names

9 rows where case_id = 2387652

✎ 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
5104201 2387652 2387652 plaintiff Butler James Earl of Wiltshire   Butler, James, Earl of Wiltshire 0
5104202 2387652 2387652 defendant Broke Edward   802947 802947 Broke, Edward, of Holdyche, Devon, knight 0
5104203 2387652 2387652 defendant Broke Peter esq 606563 606563 Broke, Peter, of Holdyche, esq 1
5104204 2387652 2387652 defendant Lowede William yeoman 846816 846816 Lowede, William, of Sparhay, Axemyster, Devon, yeoman 2
5104205 2387652 2387652 defendant Sokerell John butcher 846817 846817 Sokerell, John, of Wyldestoke, Whitechurche juxta Mersshewode, Dorset, butcher 3
5104206 2387652 2387652 defendant Harrys John yeman 846818 846818 Harrys, John, of Atram, Netherbury, Dorset, yeman 4
5104207 2387652 2387652 defendant Helyer John chapman 612826 612826 Helyer, John, of Wynsham, Soms, chapman 5
5104208 2387652 2387652 defendant Brode Thomas yeoman 846819 846819 Brode, Thomas, of Whytechurch juxta Mersshewode, yeoman 6
5104209 2387652 2387652 defendant Mede William yeoman 585871 585871 Mede, William, of Taunton, Soms, 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 9.087ms