We summarize the first major effort to use analytics for preemptive maintenance and repair of an electrical distribution network. This is a large-scale multiyear effort between scientists and students at Columbia University and the Massachusetts Institute of Technology and engineers from the Consolidated Edison Company of New York (Con Edison), which operates the world's oldest and largest underground electrical system. Con Edison's preemptive maintenance programs are less than a decade old and are made more effective with the use of analytics developing alongside them. Some of the data we used for our projects are historical records dating as far back as the 1880s, and some of the data are free-text documents typed by Con Edison dispatchers. The operational goals of this work are to assist with Con Edison's preemptive inspection and repair program and its vented-cover replacement program. This has a continuing impact on the public safety, operating costs, and reliability of electrical service in New York City.