Skip to content

Error in parsing html table from ci_query #196

Description

@gjgetzinger

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions