PlotAllBridgesMap throws range error if only a subset of bridges are passed for plotting
The ageBreaks are not flexible such that the range limits may cause an error (ageDiscrete). ageContinuous mapping is somewhat strange.
AllBridgesMap <- PlotAllBridgesMap(df.USbridges.water[1:1000,], ggmap = FALSE, type = "ageDiscrete",outputFormat = "png",SAVE=TRUE, gs_path = gs_path)
Error in factor(BridgesDataFrame$AGE_CATEGORY, labels = ageLabels) : invalid 'labels'; length 5 should be 1 or 4