Filtering on a data set by date

davidbdavidb Member Posts: 4 Contributor I
edited October 2019 in Help
in sql depending on type there are various ways to filter by date on days. Is there a way to easily do this in rapidminer operators? For example if I only wanted to capture data that goes back 180 days from today (date now)?

Best Answer

  • Options
    davidbdavidb Member Posts: 4 Contributor I
    Solution Accepted
    Thanks, I this is what I ended up doing. 
    seemed easier to manage the dates after converting them to epoch

    generate attributes:

    generate second attribute converting date to epoch again:


    Then filter based on expression



  • Options
    kaymankayman Member Posts: 662 Unicorn
    You could generate a new attribute containing the time difference between your date field and now, there are quite some date options available in the operator. Then you filter using this new attribute and remove it again. Not the most elegant way but it does the trick
Sign In or Register to comment.