convertLayer function

Convert shapefile layer to simple features dataframe