You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error saying No method asJSON S3 class: vctrs_vctr.
It seems to me that the new nest creates an object of class vctrs_vctr (which I dont know) inside the data.frame instead of using a list as a container for the nested elements. In case I got that right, can I make nest create a list or alternatively, how can I have the nest() function output something that's digestable for toJSON?
Thanks a lot in advance!
skr5k
The text was updated successfully, but these errors were encountered:
Hey,
I use nest() a lot for creating JSONs from dataframes to interact with an API. Here's an example:
This returns:
When I run instead:
I get an error saying
No method asJSON S3 class: vctrs_vctr
.It seems to me that the new nest creates an object of class vctrs_vctr (which I dont know) inside the data.frame instead of using a list as a container for the nested elements. In case I got that right, can I make nest create a list or alternatively, how can I have the nest() function output something that's digestable for toJSON?
Thanks a lot in advance!
skr5k
The text was updated successfully, but these errors were encountered: