Description Usage Arguments Value See Also Examples
when provided with a vector of IP ranges
("172.18.0.0/28"), range_boundaries
calculates the
maximum and minimum IP addresses in that range.
1 | range_boundaries(ranges)
|
ranges |
a vector of IP ranges. Currently only IPv4 ranges work. |
a data.frame of four columns, "minimum_ip" (containing the smallest IP in the provided range) and "maximum_ip" (containing the largest). "min_numeric" & "max_numeric" (the min & max numeric versions of "minimum_ip" and "maximum_ip") and the original range string. If the range was invalid, both columns will contain Invalid" as the value.
ip_in_range
to calculate if an IP address
falls within a particular range, or ip_to_numeric
to
convert the dotted-decimal notation of returned IP addresses to their
numeric representation.
1 2 3 | range_boundaries("172.18.0.0/28")
## minimum_ip maximum_ip min_numeric max_numeric range
## 1 172.18.0.0 172.18.0.15 2886860800 2886860815 172.18.0.0/28
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.