X-Git-Url: https://code.communitydata.science/covid19.git/blobdiff_plain/18118328ccb35d65a30d826129ef6f58c954fc9c..3bd1c684dfc71ca8763c351fc7bfc2ab33c791bf:/transliterations/analysis/related_searches_example.R?ds=sidebyside diff --git a/transliterations/analysis/related_searches_example.R b/transliterations/analysis/related_searches_example.R index 19ddfc7..2576d4a 100644 --- a/transliterations/analysis/related_searches_example.R +++ b/transliterations/analysis/related_searches_example.R @@ -19,7 +19,7 @@ top5.per.term.date <- aggregate(query ~ term + date, head, 5) ## Might cleanup a bit for further analysis or visualization... -top5.per.term.date$date <- asDate(top5.per.term.date$date) +top5.per.term.date$date <- as.Date(top5.per.term.date$date) ### Export write.table(top5.per.term.date,