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 TLDs and changes to the package.
Accordingly, the package also includes suffix_refresh
, which refreshes
this dataset on the user end. This requires CURL (the library, not the
R package) on your system to function.