X-Git-Url: https://code.communitydata.science/covid19.git/blobdiff_plain/18118328ccb35d65a30d826129ef6f58c954fc9c..0fb8ac2ed9b10c75cc8a2e0a6ecb5f08d3604e08:/transliterations/analysis/related_searches_example.R?ds=inline 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,