Skip to content

Commit

Permalink
fixed an error in get_session_cases
Browse files Browse the repository at this point in the history
  • Loading branch information
martigso committed Mar 8, 2024
1 parent 6c83311 commit a97efa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_session_cases.R
Expand Up @@ -142,7 +142,7 @@ get_session_cases <- function(sessionid = NA, good_manners = 0, cores = 1){
names(tmp2$topics) <- tmp2$root$id

# Case proposer
tmp2$proposers <- lapply((tmp |> html_elements("saker_oversikt > saker_liste > sak > forslagstiller_liste")), function(x){
tmp2$proposers <- mclapply((tmp |> html_elements("saker_oversikt > saker_liste > sak > forslagstiller_liste")), function(x){

if(identical(x |> html_elements("representant > id") |> html_text(), character()) == TRUE){
data.frame(rep_id = NA,
Expand Down

0 comments on commit a97efa3

Please sign in to comment.