PolMine / UCSSR

Draft of an extended tutorial how to use polmineR in social science research
4 stars 1 forks source link

UNGA specific read() problem on partition? #13

Open ChristophLeonhardt opened 4 years ago

ChristophLeonhardt commented 4 years ago

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