Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
michalovadek authored Nov 7, 2020
1 parent e0ed75d commit 40dd8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/elx_parse_xml.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ elx_parse_xml <- function(sparql_response = ""){
res_cols <- res_binding %>%
xml2::xml_attr("name")

if (identical(res_cols, c("eurovoc","labels"))){ # for use in elx_label_eurovoc
if (identical(unique(res_cols), c("eurovoc","labels"))){ # for use in elx_label_eurovoc

out <- dplyr::tibble(res_cols, res_text) %>%
dplyr::mutate(is_work = dplyr::if_else(res_cols=="eurovoc", T, NA)) %>%
Expand Down

0 comments on commit 40dd8a1

Please sign in to comment.