suffix_refresh

0th

Percentile

Retrieve a public suffix dataset

urltools comes with an inbuilt dataset of public suffixes, suffix_dataset. This is used in suffix_extract to identify the top-level domain within a particular domain name.

While updates to the dataset will be included in each new package release, there's going to be a gap between changes to the suffixes list and changes to the package. Accordingly, the package also includes suffix_refresh, which generates and returns a fresh version of the dataset. This can then be passed through to suffix_extract.

Usage
suffix_refresh()
Value

a dataset equivalent in format to suffix_dataset.

See Also

suffix_extract to extract suffixes from domain names, or suffix_dataset for the inbuilt, default version of the data.

Aliases
  • suffix_refresh
Examples
# NOT RUN {
new_suffixes <- suffix_refresh()
# }
# NOT RUN {
# }
Documentation reproduced from package urltools, version 1.7.3, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.