Datasources are removed from Terraform state file when we run refresh

I recently asked a question which led to some informative responses about data sources, which may be useful for more background reading: Why does `-refresh=false` not disable refresh of data sources?