Complex sentence: Mining began to replace lumber as the primary industry as improvements to the area's transportation network, including trams, made it possible for workers to live in one community and work in another.
Split into simpler sentences: Mining began to replace lumber as the primary industry as the area's transportation network was improved to include trams. These enabled workers to live in one community and work in another.