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

Error in parsing html table from ci_query #196

Closed
gjgetzinger opened this issue Jan 9, 2020 · 0 comments
Closed

Error in parsing html table from ci_query #196

gjgetzinger opened this issue Jan 9, 2020 · 0 comments

Comments

@gjgetzinger
Copy link
Contributor

ci_query error in parsing html table. Looks for Physical Prop table, but not found.

https://chem.sis.nlm.nih.gov/chemidplus/rn/10024-97-2?DT_START_ROW=0&DT_ROWS_PER_PAGE=50

ci_query('10024-97-2', type = 'rn', match = 'best')
https://chem.sis.nlm.nih.gov/chemidplus/rn/10024-97-2?DT_START_ROW=0&DT_ROWS_PER_PAGE=50
Error in html_table(xml_find_all(ttt, "//h2[contains(., 'Physical Prop')]/following-sibling::div//table"))[[1]] :
  subscript out of bounds
gjgetzinger pushed a commit to gjgetzinger/webchem that referenced this issue Jan 9, 2020
gjgetzinger added a commit to gjgetzinger/webchem that referenced this issue Jan 9, 2020
@stitam stitam closed this as completed in d95e689 Jan 21, 2020
stitam added a commit that referenced this issue Jan 21, 2020
Also closes #196. Thank you for @gjgetzinger for your contribution! I think two separate topics were combined by accident, can you contact me at webchem at ropensci dot org so we can discuss why this could have happened? Thanks.
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

1 participant