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

"Tables" functions returning errors #3

Closed
dhicks opened this issue Jul 8, 2016 · 2 comments
Closed

"Tables" functions returning errors #3

dhicks opened this issue Jul 8, 2016 · 2 comments

Comments

@dhicks
Copy link

dhicks commented Jul 8, 2016

I've just installed nhanesA, and encountered errors trying to follow the vignette: https://cran.r-project.org/web/packages/nhanesA/vignettes/Introducing_nhanesA.html

In particular:

> nhanesTables('EXAM', 2005)
Error in `[.data.frame`(df, , c("Data.File.Name", "Data.File.Description")) : 
  undefined columns selected
> nhanesTableVars('EXAM', 'BMX_D')
Error in nhanesTableVars("EXAM", "BMX_D") : 
  Table BMX_D not present in the EXAM survey

However, bmx_d <- nhanes('BMX_D') appears to be working as expected.

@cjendres1
Copy link
Owner

There has been a revision to the NHANES website and some of the HTML has changed. I expect to have this resolved within the next couple days.

@cjendres1
Copy link
Owner

Revised package (nhanesA 0.6.4.1) is now up on CRAN. Am closing this ticket, but will continue to investigate as some nhanesA functions (especially nhanesSearch) are having performance issues with the new NHANES website.

cjendres1 pushed a commit that referenced this issue Nov 9, 2024
fix bug in nhanesSearch()
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