Working with data
Data is something that nearly everyone works with daily. As an administrator, you might not work with data as much as others, but there are plenty of administrative tasks that revolve around data.
Loading data into a geodatabase
Loading data into geodatabases may or may not fall under your duties as an ArcGIS Enterprise administrator, but the following script demonstrates a few handy Pythonic methods. This is also a common task that can take on many forms. For our example here, we will simulate the loading of data from an enterprise geodatabase into a publication file geodatabase. Let's say that our web services do not have access to the enterprise geodatabase, so we need a read-only copy of that data that can hydrate our web services. However, we cannot have stale, out-of-date data in our publication geodatabase, so we need the publication data updated every day. This is a perfect example of a need that can be met with Python and arcpy
.
Before we get into the script, there...