home / cp40x

names

8 rows where case_id = 2404135

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5160398 2404135 2404135 plaintiff Skypwyth William knight   Skypwyth, William, knight 0
5160399 2404135 2404135 defendant Ranyer John husbandman 591351 591351 Ranyer, John, of Wynthorp, husbandman 0
5160400 2404135 2404135 defendant Watson Walter husbandman 593662 593662 Watson, Walter, of Croft, husbandman 1
5160401 2404135 2404135 defendant Wyotson John husbandman 593662 593662 Wyotson, John, of Croft, husbandman 2
5160402 2404135 2404135 defendant Carter John husbandman 603079 603079 Carter, John, of Burgh in the Marsh, husbandman 3
5160403 2404135 2404135 defendant Jolyffe Thomas dyer 603079 603079 Jolyffe, Thomas, of Burgh in the Marsh, dyer 4
5160404 2404135 2404135 defendant Ryby William   854652 854652 Ryby, William, of Markeby, cosour 5
5160405 2404135 2404135 defendant Botyller William yeoman 598803 598803 Botyller, William, of Alford, yeoman 6

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