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 am working with ACS PUMS data. I am able to use srvyr successfully working with my dataframe in memory, but wanted to experiment with working from a database. Basic calculations are fine, but filter() fails with the following error:
Adding missing grouping variables: state_nameError indplyr::filter(): ℹ In argument: as.logical(svy$variables$__SRVYR_SUBSET_VAR__). ℹ In group 1: state_name = "Delaware". Caused by error: ! ..1 must be of size 45424 or 1, not size 2969715.
I am unclear as to what I'm doing incorrectly or if there is some kind of conflict I am unaware of. Any clarification on this would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I am working with ACS PUMS data. I am able to use srvyr successfully working with my dataframe in memory, but wanted to experiment with working from a database. Basic calculations are fine, but
filter()
fails with the following error:Adding missing grouping variables:
state_nameError in
dplyr::filter(): ℹ In argument:
as.logical(svy$variables$__SRVYR_SUBSET_VAR__
). ℹ In group 1:
state_name = "Delaware". Caused by error: !
..1must be of size 45424 or 1, not size 2969715.
Here is the set up:
I am unclear as to what I'm doing incorrectly or if there is some kind of conflict I am unaware of. Any clarification on this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: