<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def queryDataCollectionByName(self, countryName):
 """ returns a list of available data collections for a given country name. Inputs: countryName - name of the country to file the data collection. Output: list or None. None implies could not find the countryName """

        var = self._dataCollectionCodes
        try:
            return [x[0] for x in var[var['Countries'] == countryName]]
        except:
            return None