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

Issues reading in data from ACS_NSQIP_PUF_05_06_vr1 and acs_nsqip_puf19 #15

Open
rushmink0207 opened this issue Jun 9, 2021 · 4 comments

Comments

@rushmink0207
Copy link

Hello!

Running the nsqip() function with a directory of txt files does not read in ACS_NSQIP_PUF_05_06_vr1 for some reason (i.e. starts with the next file in the directory). Also, when the function gets to cleaning acs_nsqip_puf19, it stops and throws an error (copied below):

Error in if (unique(df[["pufyear"]]) > 2010) { :
missing value where TRUE/FALSE needed

Not sure where and why exactly this is occurring in the code.

Thank you for your help!

@dylanrussellmd
Copy link
Owner

Have you tried re-running this since my last master branch update? I have made some significant changes. Sorry for the long response time here, I was away from personal projects for a while due to work.

@rushmink0207
Copy link
Author

rushmink0207 commented Jun 28, 2022 via email

@dylanrussellmd
Copy link
Owner

Hi,

So to be clear, the steps you are taking are:

  1. Download master branch
  2. Run nsqip() on a directory

Can you describe the directory structure and which files are in it?

@rushmink0207
Copy link
Author

rushmink0207 commented Jul 8, 2022 via email

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

2 participants