# Introduction to Anomaly Detection in R with Exploratory

**URL:** <https://community.exploratory.io/t/introduction-to-anomaly-detection-in-r-with-exploratory/1165>\
**Category:** Uncategorized\
**Created:** [June 10, 2018, 2:28pm UTC](https://community.exploratory.io/t/introduction-to-anomaly-detection-in-r-with-exploratory/1165 "2018-06-10T14:28:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Fahr](https://community.exploratory.io/user_avatar/community.exploratory.io/andreas_fahr/32/774_2.png) [@Andreas\_Fahr](https://community.exploratory.io/u/Andreas_Fahr)\
**Post date:** [June 10, 2018, 2:28pm UTC](https://community.exploratory.io/t/introduction-to-anomaly-detection-in-r-with-exploratory/1165/1 "2018-06-10T14:28:39Z")

</div>

I am following your great tutorial about Anomaly Detection in R

[https://blog.exploratory.io/introduction-to-anomaly-detection-in-r-with-exploratory-a0507d40385d](https://blog.exploratory.io/introduction-to-anomaly-detection-in-r-with-exploratory-a0507d40385d)

In general, it works fine with the expample data provided in the tutorial. But I do encounter problems with my own data as follows

```
Converting from tbl_df to tbl_time.
Auto-index message: index = date
Error in mutate_impl(.data, dots) : 
  Evaluation error: Only year, quarter, month, week, and day periods are allowed for an index of class Date.

```

Although the variable “date” has date format like “2018-01-01”. Could anybody give me an advice on that?  
Thank you very much.

---

<div class="post-metadata">

**Author:** ![Kan\_Nishida](https://community.exploratory.io/user_avatar/community.exploratory.io/kan_nishida/32/14_2.png) [@Kan\_Nishida](https://community.exploratory.io/u/Kan_Nishida)\
**Post date:** [July 26, 2018, 1:29pm UTC](https://community.exploratory.io/t/introduction-to-anomaly-detection-in-r-with-exploratory/1165/2 "2018-07-26T13:29:30Z")

</div>

Maybe the ‘date’ column is not Date or POSIXct data type? Can u share the screenshot of Summary or Table view?
