Like vs As
Use like as a preposition in front of a noun:
He ate like a pig.
Like their data, ours supported the hypothesis.
Use the conjunction as, not like, in front of an adverbial phrase or clause:
not We collected data like we did before.
but We collected data as we did before.
not It appears like this experiment succeeded.
but It appears as if this experiment succeeded.