It shall be the duty of the officer or officers who shall be appointed therefor to carry out all the orders of the bureau of health and the provisions of this act, and of all ordinances, rules and regulations in relation to the sanitary condition of said cities, and to proceed from time to time to make thorough and systematic examinations of the same and cause all nuisances to be abated with reasonable promptness; and for the purpose of carrying out the foregoing requirements such officer or officers shall be permitted at all times from the rising to the setting of the sun to enter into any house, store, stable, or other building, and to cause the floors to be raised if deemed necessary by them, in order to make a thorough examination of cellars, vaults, sinks or drains; to enter upon all lots of ground, and to cause all stagnant waters to be drained off, the pools, sinks, vaults, drains or low grounds to be cleansed, filled up, or otherwise improved or corrected; to cause all privies to be cleaned and kept in good condition; and to cause all dead animals or other nauseous or unwholesome things or substances to be removed beyond the limits of the city or otherwise disposed of.
53 P.S. § 24581