isNoRecord: Does the RN URL indicate that no records were found?

Description Usage Arguments No Records See Also

View source: R/deprecated/isNoRecord.R

Description

There are 2 HTML responses involved in ChemiDPlus scraping. The first HTML response is associated with the concept search while the second is for the 1 to 5 Registry Numbers and their URLs if records were found. The ChemiDPlus parsing functions delineate the response into 3 groups: searches the resulted in no records, a single record, or multiple records (currently limited to parsing a maximum of 5 records).

Usage

1
isNoRecord(response)

Arguments

response

"xml_document" "xml_node" class object returned by calling xml2::read_html on the rn_url

No Records

If the ChemiDPlus search url response contained the phrase "The following query produced no records:", it is marked as not having any records.

See Also

html_nodes,html_text

Other chemidplus parsing: is404(), isMultipleHits(), isSingleHit()


meerapatelmd/skyscraper documentation built on Dec. 27, 2020, 7:46 a.m.