Dear
OpenRefine-Community,
Unfortunately I have huge problems converting Twitter timestamps into a format
which allows me to filter Tweets by a timescale e.g. between 01.01.2014 and
01.01.2015.
The column
I am talking about looks at the moment for example:
Mon Aug 10 20:38:59 +0000 2015 or
Tue Jul 14 20:20:41 +0000 2013
(Day Month hh:mm:ss +0000 Year)
Filtering my data just by simple date would be enough for my work – day or time doesn’t matter.
I apologize for such a “simple” question and request for help since I guess there is plenty of guides and all but I need the data for my dissertation in politics which means I am naturally a beginner and very bad “at coding”. All my Google-Searches for an already existing method/code was unfortunately no success.
BR, thanks and Merry Christmas
ok, I think I solved it by using:
value.split(' ')[2]+"."+value.split(' ')[1]+"."+value.split(' ')[5]
after that i transform months to numbers by using e.g. for August:
edit cells: value.replace("Aug","8")
+all the other months afterwards.
if someone has a better, "cleaner" solution feel free to let me know :)
--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Well, I dont know what to say, but I did:
value.replace('+0000','')
and afterwards edit cells -> common transforms -> To date
and it worked! (...?)
The only last thing that I would like to ask is, how to filter between two certain dates as the timeline facet only shows one date but two times (time doesnt matter) = I cannot see the end-date in the filter. -> I want to filter my data e.g. for between 1. January and 3. January. How do I do that?
Screenshot: http://s11.postimg.org/6srxrdlc3/ghkxgk.jpg