In corpusQuery Use fields API result as metadata

Resolves #19

Change-Id: I83e4f66efc06d62a2aec10a7719faafaadab15bb
diff --git a/NAMESPACE b/NAMESPACE
index 53ab148..9255cb8 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -95,6 +95,7 @@
 importFrom(lubridate,year)
 importFrom(magrittr,"%>%")
 importFrom(magrittr,debug_pipe)
+importFrom(purrr,map)
 importFrom(purrr,pmap)
 importFrom(stats,prop.test)
 importFrom(stringr,str_detect)
@@ -102,6 +103,7 @@
 importFrom(stringr,str_split)
 importFrom(tibble,add_column)
 importFrom(tibble,as_tibble)
+importFrom(tibble,enframe)
 importFrom(tibble,remove_rownames)
 importFrom(tibble,rownames_to_column)
 importFrom(tibble,tibble)
@@ -109,4 +111,6 @@
 importFrom(tidyr,expand_grid)
 importFrom(tidyr,pivot_longer)
 importFrom(tidyr,pivot_wider)
+importFrom(tidyr,unchop)
+importFrom(tidyr,unnest)
 importFrom(urltools,url_encode)