| sp_list_layers | R Documentation | 
Function to list layers within a spatial data file.
sp_list_layers(file)
| file | Spatial data file. | 
Stuart K. Grange
## Not run: 
# List layers in GeoJSON file, there will only be one
sp_list_layers("../../data/points_and_lines.json")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.