Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNGA specific read() problem on partition? #13

Open
ChristophLeonhardt opened this issue Mar 17, 2020 · 0 comments
Open

UNGA specific read() problem on partition? #13

ChristophLeonhardt opened this issue Mar 17, 2020 · 0 comments

Comments

@ChristophLeonhardt
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant