Via R and using RStudio, I'm trying to segment an ip address (eg.: 10.10.10.7) and generate a /8>/16>/24>/32.
Edit: My input is a list with +/- 100 IPs and have repeated IPs. The output I want would be a single json, xml, or dataframe with masking segmentation.
Eg.:
10.0.0.0
----10.10.0.0
--------10.10.10.0
------------10.10.10.7
--------10.10.20.0
------------10.10.20.7
What I've been able to do so far is separate each one into a different dataframe.
I would like to do everything in "one" json or xml or dataframe.
It would be possible? Thanks in advance for the help !!