SDITools / adobeanalyticsr

R Client for Adobe Analytics API v2.0
Other
18 stars 9 forks source link

Error thrown if API returns empty `rows` field #100

Closed charlie-gallagher closed 2 years ago

charlie-gallagher commented 2 years ago

This happens when you make a request that returns no data, but the request is still valid. The error is obscure, so not particularly insightful about what went wrong.

Steps to reproduce

  1. Make a query that returns no data, e.g., apply a segment to a breakdown that causes it to produce all zeros at some level of the breakdown

This is fixed in pull request #99. It causes NAs to be returned for the remaining levels of the breakdown.