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

dplyr::slice isn't filtering JSON appropriately #18

Closed
jeremystan opened this issue Aug 27, 2016 · 1 comment
Closed

dplyr::slice isn't filtering JSON appropriately #18

jeremystan opened this issue Aug 27, 2016 · 1 comment

Comments

@jeremystan
Copy link
Collaborator

Filter works:

companies[1:5] %>% as.tbl_json %>% filter(document.id == 1) %>% attr("JSON") %>% length
#> [1] 1

but slice does not:

companies[1:5] %>% as.tbl_json %>% slice(1) %>% attr("JSON") %>% length
#> [1] 5
@jeremystan
Copy link
Collaborator Author

Should check other dplyr verbs as well.

jeremystan pushed a commit that referenced this issue Sep 2, 2016
jeremystan pushed a commit that referenced this issue Sep 2, 2016
@jeremystan jeremystan mentioned this issue Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant