© 2017 American Physical Society. A measurement of electron antineutrino oscillation by the Daya Bay Reactor Neutrino Experiment is described in detail. Six 2.9-GWth nuclear power reactors of the Daya Bay and Ling Ao nuclear power facilities served as intense sources of νe's. Comparison of the νe rate and energy spectrum measured by antineutrino detectors far from the nuclear reactors (∼1500-1950 m) relative to detectors near the reactors (∼350-600 m) allowed a precise measurement of νe disappearance. More than 2.5 million νe inverse beta-decay interactions were observed, based on the combination of 217 days of operation of six antineutrino detectors (December, 2011-July, 2012) with a subsequent 1013 days using the complete configuration of eight detectors (October, 2012-July, 2015). The νe rate observed at the far detectors relative to the near detectors showed a significant deficit, R=0.949±0.002(stat)±0.002(syst). The energy dependence of νe disappearance showed the distinct variation predicted by neutrino oscillation. Analysis using an approximation for the three-flavor oscillation probability yielded the flavor-mixing angle sin22θ13=0.0841±0.0027(stat)±0.0019(syst) and the effective neutrino mass-squared difference of |Δmee2|=(2.50±0.06(stat)±0.06(syst))×10-3 eV2. Analysis using the exact three-flavor probability found Δm322=(2.45±0.06(stat)±0.06(syst))×10-3 eV2 assuming the normal neutrino mass hierarchy and Δm322=(-2.56±0.06(stat)±0.06(syst))×10-3 eV2 for the inverted hierarchy.