Skip to content

UNGA specific read() problem on partition? #13

@ChristophLeonhardt

Description

@ChristophLeonhardt

In the new UNGA branch, I cannot render the html for subcorpora because of a problem with the read() function I cannot reproduce with other corpora. Hence, I post the issue here instead of in polmineR. Correct me if I am wrong here.

library(polmineR)
use("UNGA")
uk_2008_ff <- partition("UNGA", state_organization = "United Kingdom", year = 2008:2009)
uk_fcrisis <- partition(uk_2008_ff, date = "2008-09-26")

The error occurs when I try to read.

read(uk_fcrisis)

Error in check_s_attribute(corpus = corpus, registry = registry, s_attribute = s_attribute) :
s_attribute needs to be a length 1 vector

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions