You can use the from_dataset function in a formula field. From the docs:
from_dataset("dataset", "column", join_criteria) => Fetches a value from a dataset.
For example, from_dataset("People", "name", id: person_id) returns the value of the "name" column from the "People" dataset where the id column matches the person_id column in the current schema.
Here's a link to the docs for formulas: http://mockaroo.com/help/formulas