Package: ipaddress 1.0.2.9000
ipaddress: Data Analysis for IP Addresses and Networks
Classes and functions for working with IP (Internet Protocol) addresses and networks, inspired by the Python 'ipaddress' module. Offers full support for both IPv4 and IPv6 (Internet Protocol versions 4 and 6) address spaces. It is specifically designed to work well with the 'tidyverse'.
Authors:
ipaddress_1.0.2.9000.tar.gz
ipaddress_1.0.2.9000.zip(r-4.5)ipaddress_1.0.2.9000.zip(r-4.4)ipaddress_1.0.2.9000.zip(r-4.3)
ipaddress_1.0.2.9000.tgz(r-4.4-x86_64)ipaddress_1.0.2.9000.tgz(r-4.4-arm64)ipaddress_1.0.2.9000.tgz(r-4.3-x86_64)ipaddress_1.0.2.9000.tgz(r-4.3-arm64)
ipaddress_1.0.2.9000.tar.gz(r-4.5-noble)ipaddress_1.0.2.9000.tar.gz(r-4.4-noble)
ipaddress.pdf |ipaddress.html✨
ipaddress/json (API)
NEWS
# Install 'ipaddress' in R: |
install.packages('ipaddress', repos = c('https://davidchall.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/davidchall/ipaddress/issues
cyberdata-analysisip-addressipv4ipv6vctrs
Last updated 12 months agofrom:bf09db1c68. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 07 2024 |
R-4.5-win-x86_64 | OK | Nov 07 2024 |
R-4.5-linux-x86_64 | OK | Nov 07 2024 |
R-4.4-win-x86_64 | OK | Nov 07 2024 |
R-4.4-mac-x86_64 | OK | Nov 07 2024 |
R-4.4-mac-aarch64 | OK | Nov 07 2024 |
R-4.3-win-x86_64 | OK | Nov 07 2024 |
R-4.3-mac-x86_64 | OK | Nov 07 2024 |
R-4.3-mac-aarch64 | OK | Nov 07 2024 |
Exports:%<<%%>>%as_ip_addressas_ip_interfaceas_ip_networkbinary_to_ipbroadcast_addressbytes_to_ipcollapse_networkscommon_networkcountry_networksexclude_networksextract_6to4extract_ipv4_mappedextract_teredo_clientextract_teredo_serverhex_to_iphostmaskhostname_to_iphostname_to_ip_allhostsinteger_to_ipip_addressip_interfaceip_networkip_to_binaryip_to_bytesip_to_hexip_to_hostnameip_to_hostname_allip_to_integeris_6to4is_globalis_ip_addressis_ip_interfaceis_ip_networkis_ipv4is_ipv4_mappedis_ipv6is_link_localis_loopbackis_multicastis_privateis_reservedis_site_localis_subnetis_supernetis_teredois_unspecifiedis_withinis_within_anymax_prefix_lengthnetmasknetwork_addressnum_addressesoverlapsprefix_lengthreverse_pointersample_ipv4sample_ipv6sample_networksubnetssummarize_address_rangesupernetvec_arith.ip_addressvec_arith.ip_interface
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Network membership of addresses | address_in_network is_within is_within_any |
Collapse contiguous and overlapping networks | collapse_networks |
Find the common network of two addresses | common_network |
Country-level IP networks | country_networks |
Remove networks from others | exclude_networks |
IPv4 address space allocation | iana_ipv4 |
IPv6 address space allocation | iana_ipv6 |
Vector of IP addresses | ip_address |
Cast to IP vector | as_ip_address as_ip_interface as_ip_network ip_cast |
Format IP vector | format.ip_address format.ip_interface format.ip_network ip_format |
Vector of IP interfaces | ip_interface ip_interface.default ip_interface.ip_address |
Vector of IP networks | ip_network ip_network.default ip_network.ip_address |
Operators for IP addresses | %<<% %>>% ip_operators |
Test for IP vector | ip_test is_ip_address is_ip_interface is_ip_network |
Represent address as binary | binary_to_ip ip_to_binary |
Represent address as raw bytes | bytes_to_ip ip_to_bytes |
Represent address as hexadecimal | hex_to_ip ip_to_hex |
Translate address to/from hostname | hostname_to_ip hostname_to_ip_all ip_to_hostname ip_to_hostname_all |
Represent address as integer | integer_to_ip ip_to_integer |
IPv6 transition mechanisms | extract_6to4 extract_ipv4_mapped extract_teredo_client extract_teredo_server ipv6-transition is_6to4 is_ipv4_mapped is_teredo |
Version of the address space | is_ipv4 is_ipv6 |
Reserved addresses | is_global is_link_local is_loopback is_multicast is_private is_reserved is_site_local is_unspecified |
Size of the address space | max_prefix_length |
Network mask | hostmask hostmask.numeric netmask netmask.numeric prefix_length |
Network membership of other networks | is_subnet is_supernet network_in_network overlaps |
Network size | broadcast_address network_address network_size num_addresses |
Reverse DNS pointer | reverse_pointer |
Sample random addresses | sample sample_ipv4 sample_ipv6 sample_network |
List addresses within a network | hosts seq.ip_network sequence |
List constituent networks of an address range | summarize_address_range |
Traverse the network hierarchy | subnets supernet traverse_hierarchy |