diff --git a/R/query_gen_actors.R b/R/query_gen_actors.R index c44bb24..ece6119 100644 --- a/R/query_gen_actors.R +++ b/R/query_gen_actors.R @@ -15,7 +15,8 @@ ################################################################################################# query_gen_actors <- function(actor, country, pre_tags, post_tags) { generator <- function(country, startdate, enddate, querystring, pre_tags, post_tags, actorid) { - return(paste0('{"query": + return(paste0('{"_source": ["ud"], + "query": {"bool": { "filter":[ {"term":{"country":"',country,'"}},