data_home = get_data_home(data_home)
archive_file = os.path.join(data_home, os.path.basename(DATA_URL))
if not os.path.exists(archive_file):
if not download_if_missing:
raise IOError("data not present on disk. "
"set download_if_missing=True to download")
data = Table.read(DATA_URL)
data.write(archive_file)
else:
data = Table.read(archive_file)
if cleaned:
// -1.1 < FeH < 0.1
data = data[(data["FeH"] > -1.1) & (data["FeH"] < 0.1)]