Maybe this requires another argument like keep_all_rows.
In the example below, I think we should allow the user some way to end up with 4 rows instead of 3. The third row corresponding to baz should be all NAs.
It would be useful in cases I can imagine for the user to know that they got 4 distinct outputs back and that one of them was fully null.
Maybe this requires another argument like
keep_all_rows
.In the example below, I think we should allow the user some way to end up with 4 rows instead of 3. The third row corresponding to
baz
should be allNA
s.It would be useful in cases I can imagine for the user to know that they got 4 distinct outputs back and that one of them was fully null.
So what I think this should look like is:
Mostly useful when the user knows they're passing x number inputs to an API and expecting x outputs, even if some of those outputs are empty.