-
Notifications
You must be signed in to change notification settings - Fork 1
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
Missing URLs of NHANES Data.File and Doc.File #22
Comments
the problem is that the URL that nhanesSearchTableNames uses is I can ask Chris Endres to perhaps modify the nhanesSearchTableNames function to add this in, in the shorter term you could just try this and see if it is what you need. |
If we also want URL's I could do something like:
Is that what you had in mind? I can prepend https://wwwn.cdc.gov to construct the full path. |
Here's the nhanesA git if you want to report an issue: |
Yes, this is exactly what we had in mind — both for the Data URL and perhaps also the Doc URL if possible. I'll open a new issue in the nhanesA tracker. |
While working on NHANES issue #27 (ccb-hms/nhanes-database#27 (comment)) we realized that the URLs to NHANES “Data File" and “Doc File" are not returned by the nhanesA::nhanesSearchTableNames() function.
The links are in the CDC website, e.g.:
https://wwwn.cdc.gov/nchs/nhanes/search/datapage.aspx?Component=Demographics&CycleBeginYear=2017
but nhanesA returns a data frame with only strings such as “DEMO_J Data [XPT - 3.3 MB]”
Perhaps nhanesA should be modified to include these URLs as additional columns in the returned data frame.
The text was updated successfully, but these errors were encountered: