Change the `data` hash in the data retrieval method to an array

- The `data` hash only had numeric values as keys.
- Adhere to the style guide with Array.new without parentheses.
- Give the data retrieval method a more descriptive name.