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

object 'age_gender_groups' not found #4

Open
chrishwiggins opened this issue Nov 10, 2020 · 3 comments
Open

object 'age_gender_groups' not found #4

chrishwiggins opened this issue Nov 10, 2020 · 3 comments

Comments

@chrishwiggins
Copy link

age_sample_prob = pp_sub[, age_gender_groups]/sum(pp_sub[, age_gender_groups])

any ideas why this throws an error?

I get (traceback):

===
Error in [.tbl_df(pp_sub, , age_gender_groups) :
object 'age_gender_groups' not found
6.
[.tbl_df(pp_sub, , age_gender_groups) at synthetic_population.R#13
5.
pp_sub[, age_gender_groups] at synthetic_population.R#13
4.
eval(ei, envir)
3.
eval(ei, envir)
2.
withVisible(eval(ei, envir))
1.
source("synthetic_population.R")

===

@winstonll
Copy link
Owner

Hi Chris,

This R version of the code hasn't been well maintained, unfortunately. I produce this repo sometime in early 2019 as part of an AAAI workshop submission, and since then, I've begin to work on a python version. I bet there are some bugs within the code that prevents it from running properly.

If you share a little bit about your use case, for example, what you are trying to do, I'd be happy to help navigate through the messy code so that you can better use this not-so-well-written repo. Feel free to either reply here or email winston@arimadata.com. Thanks.

@chrishwiggins
Copy link
Author

chrishwiggins commented Nov 10, 2020 via email

@mkr-miq
Copy link

mkr-miq commented Sep 2, 2021

@winstonll as the R version of the code is not maintained, can you share the python version?

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

No branches or pull requests

3 participants