Parse a Screaming Frog follow flag to logical
Source:R/screaming_frog_contract.R
sf_parse_follow.RdConverts the values Screaming Frog writes in a "Follow" column into a logical vector. Matching is case-insensitive and whitespace is trimmed.
See also
Other Screaming Frog toolkit:
sf_container_from_path(),
sf_contract(),
sf_graph_eligible(),
sf_normalize_position(),
sf_read_input(),
sf_region_from_path(),
sf_rel_nofollow()
Examples
sf_parse_follow(c("True", "nofollow", "yes", "", NA))
#> [1] TRUE FALSE TRUE NA NA