home / cp40x

names

11 rows where case_id = 1958507

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3801941 1958507 1958507 plaintiff Norman John (legal representative) 586067 586067 Norman, John, of York, alderman, executors of 0
3801942 1958507 1958507 plaintiff Norman George     (Norman, George 1
3801943 1958507 1958507 plaintiff Newton Miles     Newton, Miles 2
3801944 1958507 1958507 plaintiff Norman Thomas clerk   Norman, Thomas, clerk 3
3801945 1958507 1958507 plaintiff Thornton Richard     Thornton, Richard 4
3801946 1958507 1958507 defendant Ughtrede Robert esq 613512 613512 Ughtrede, Robert, of Kexby, esq 0
3801947 1958507 1958507 defendant Ughtrede Anthony esq 613512 613512 Ughtrede, Anthony, of Kexby, esq 1
3801948 1958507 1958507 defendant Trewe Richard yeoman 613512 613512 Trewe, Richard, of Kexby, yeoman 2
3801949 1958507 1958507 defendant Overend George yeoman 613512 613512 Overend, George, of Kexby, yeoman 3
3801950 1958507 1958507 defendant Scayff John (legal representative) 659100 659100 Scayff, John, of Dunyngton, yeoman, executor of 4
3801951 1958507 1958507 defendant Scayff William yeoman 613512 613512 Scayff, William, of Kexby, yeoman 5

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.637ms