sf_graph_eligible: Test whether a link type is graph-eligible

View source: R/screaming_frog_contract.R

sf_graph_eligibleR Documentation

Test whether a link type is graph-eligible

Description

Reports which Screaming Frog link types count as edges in the link graph. Only true hyperlinks build the graph; resource references such as images, stylesheets, and scripts are excluded. The eligible set is sf_contract()$graph_eligible_types.

Usage

sf_graph_eligible(type)

Arguments

type

A vector (typically character) of Screaming Frog link types, e.g. "Hyperlink" or "Image". Whitespace is trimmed.

Value

A logical vector the same length as type, TRUE where the type is graph-eligible.

See Also

Other Screaming Frog toolkit: sf_container_from_path(), sf_contract(), sf_normalize_position(), sf_parse_follow(), sf_read_input(), sf_region_from_path(), sf_rel_nofollow()

Examples

sf_graph_eligible(c("Hyperlink", "Image", "Stylesheet"))

pagerankr documentation built on Oct. 1, 2026, 5:09 p.m.