Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aw_anomaly_report appears to drop the last date in date_range #95

Open
gilliganondata opened this issue Jun 19, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@gilliganondata
Copy link
Collaborator

Example code:

df <- aw_anomaly_report(company_id = company_id, 
                        rsid = rsid, 
                        date_range = c(as.Date("2021-06-15"), as.Date("2021-06-18")),
                                       metrics = "event1") 

The data returned is only for 2021-06-15 through 2021-06-17. The last date in the date range is missing:

# A tibble: 3 x 7
  day        metric  data dataExpected dataUpperBound dataLowerBound dataAnomalyDetected
  <date>     <chr>  <dbl>        <dbl>          <dbl>          <dbl> <lgl>              
1 2021-06-15 event1 10974       11560.         13753.          9366. FALSE              
2 2021-06-16 event1 10347       10911.         13082.          8740. FALSE              
3 2021-06-17 event1  9867       10355.         12505.          8206. FALSE            
@gilliganondata gilliganondata added the bug Something isn't working label Jun 19, 2021
@benrwoodard benrwoodard self-assigned this Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants