Create a vocabularies through Entity Api Drupal?

To create a vocabulary named range we would use the following code
$data = array(
'name' => 'Range',
'machine_name' => 'range',
'description' => 'Contains terms representing different cuisines.',
);
$entity = entity_create('taxonomy_vocabulary', $data);
$wrapper = entity_metadata_wrapper('taxonomy_vocabulary', $entity);
$wrapper->save();

Tags