Update get_species_data to take id rather than name as input