I have a a big feature class in geodatabase (~1.3 million rows and 234 columns; you could download it using this link) in ArcGIS 10.4.1.
I want to import the feature class from the geodatabase to R and plot specific variables (using ggplot2).
I tried importing it into R, using the answer of this question, as below
require(rgdal) # The input file geodatabase fgdb = "C:/Question_Online/union_question.gdb" # List all feature classes in a file geodatabase subset(ogrDrivers(), grepl("GDB", name)) fc_list = ogrListLayers(fgdb) print(fc_list) # Read the feature class fc = readOGR(dsn=fgdb,layer="union_thirdtrial")
However, it took more than an hour, so I had to close RStudio to terminate the process.
Can anyone point out what I am missing for a better (faster) way to import this feature class to R?