home / cp40x

names

9 rows where case_id = 2345134

✎ 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
4960588 2345134 2345134 plaintiff Beaufort Henry Bishop of Winchester   Beaufort, Henry, Bishop of Winchester 0
4960589 2345134 2345134 defendant Warner William yeoman 788542 788542 Warner, William, of Coggys, yeoman 0
4960590 2345134 2345134 defendant Warner Edmund tailor 587040 587040 Warner, Edmund, of Witney, tailor 1
4960591 2345134 2345134 defendant Deryng John weaver 589302 589302 Deryng, John, of Abyndon, Berks, weaver 2
4960592 2345134 2345134 defendant Geoffrey Thomas laborer 827685 827685 Geoffrey, Thomas, of Aschall, laborer 3
4960593 2345134 2345134 defendant Oldeford John   593171 593171 Oldeford, John, of Milton, mason 4
4960594 2345134 2345134 defendant Pounter John, junior laborer 594647 594647 Pounter, John, junior, of Burford on le Wold, laborer 5
4960595 2345134 2345134 defendant Lovell Edward laborer 594647 594647 Lovell, Edward, of Burford on le Wold, laborer 6
4960596 2345134 2345134 defendant Hoke   John, of Wytney, shoemaker   Hoke,, John, of Wytney, shoemaker 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.715ms