]> code.communitydata.science - covid19.git/blobdiff - transliterations/analysis/related_searches_example.R
adding a logs dir without adding my log files, assuming those don't
[covid19.git] / transliterations / analysis / related_searches_example.R
index 19ddfc76de29de4ebf6bc8b4f79f7ad871ab4a2f..2576d4a862b066423fa6142ee3c53e5dfc4580a3 100644 (file)
@@ -19,7 +19,7 @@ top5.per.term.date <- aggregate(query ~ term + date,
                                 head, 5)
 
 ## Might cleanup a bit for further analysis or visualization...
                                 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,
 
 ### Export
 write.table(top5.per.term.date,

Community Data Science Collective || Want to submit a patch?