solve most of predefined challenges
This commit is contained in:
+4
-3
@@ -47,8 +47,8 @@ repair_reden <- function(reden) {
|
||||
|
||||
repair_talks <- function(talks) {
|
||||
if (nrow(talks) == 0) return(talks)
|
||||
# TODO: fill with content
|
||||
talks
|
||||
# ignore all talks which have empty content
|
||||
filter(talks, str_length(content) > 0)
|
||||
}
|
||||
|
||||
# tries to find the correct redner id given a name
|
||||
@@ -90,6 +90,7 @@ repair <- function(parse_output) {
|
||||
reden = repair_reden(parse_output$reden),
|
||||
talks = repair_talks(parse_output$talks),
|
||||
#comments = repair_comments(parse_output$comments)
|
||||
comments = parse_output$comments
|
||||
comments = parse_output$comments,
|
||||
applause = parse_output$applause
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user