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

functions failing 'must be the same type' -reading saved dataframes #10

Closed
benyomin opened this issue Jul 19, 2017 · 2 comments
Closed
Labels

Comments

@benyomin
Copy link
Owner

Related to other issue: tidyverse/haven#28

> weighHouseholds('renters','income')
Error: `x` and `labels` must be same type
> subsetByOwnership()
Error: `x` and `labels` must be same type

There it is claimed that problem is caused by new version of RStudio. Here, I have the problem in ESS.

@academikuser
Copy link
Collaborator

Now happening on

 subsetCities()  

after making familiesList based on expFamIndYYYY not famYYYY

@academikuser academikuser added this to the working for ch. 1 milestone Jul 24, 2017
@paynito
Copy link

paynito commented Aug 4, 2017

again, in subsetCities("addregion")
these lines are failing

renters2004 <- renters2004[!renters2004$CODELOC == "Less than 100,000 inhabitants", ]
renters2004 <<- droplevels(renters2004[!CODELOC == "Less than 50,000 inhabitants", ])

renters2005 <- renters2005[!renters2005$CODELOC == "Less than 100,000 inhabitants", ]
renters2005 <<- droplevels(renters2005[!renters2005$CODELOC == "Less than 50,000 inhabitants", ])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants