import json


def fake_data_set_large(tmpdir_factory):
    """Large fake suggest api data set.

    Temp-file that contains the larger, more complicated, unicode containing
    'territories' data set.
    """
    data_set_content = ["Anguilla", "Antarctica", "Aruba", "Ascension Island",
                        "Bailiwick of Guernsey", "Bailiwick of Jersey",
                        "Baker Island", "Bermuda", "Bonaire", "Bouvet Island",
                        "British Antarctic Territory", "Cayman Islands",
                        "Ceuta", "Collectivity of Saint Martin",
                        "Commonwealth of Puerto Rico",
                        "Commonwealth of the Northern Mariana Islands",
                        "Cook Islands", "Country of Cura\u00e7ao",
                        "Emirate of Abu Dhabi", "Emirate of Ajman",
                        "Emirate of Dubai", "Emirate of Fujairah",
                        "Emirate of Ras al-Khaimah", "Emirate of Sharjah",
                        "Emirate of Umm al-Quwain", "Falkland Islands",
                        "Faroe Islands", "French Guiana", "French Polynesia",
                        "French Southern Territories", "Gibraltar", "Greenland",
                        "Guadeloupe", "Hong Kong Special Administrative Region",
                        "Howland Island", "Isle of Man", "Jarvis Island",
                        "Johnston Atoll", "Kingman Reef",
                        "Macao Special Administrative Region", "Martinique",
                        "Mayotte", "Melilla", "Midway Islands", "Montserrat",
                        "Navassa Island", "New Caledonia", "Niue",
                        "Palmyra Atoll",
                        "Pitcairn, Henderson, Ducie and Oeno Islands",
                        "R\u00e9union", "Saba", "Saint Barth\u00e9lemy",
                        "Saint Helena", "Saint Pierre and Miquelon",
                        "Sint Eustatius", "Sint Maarten",
                        "South Georgia and the South Sandwich Islands",
                        "Sovereign Base Areas of Akrotiri and Dhekelia",
                        "Svalbard and Jan Mayen", "Taiwan",
                        "Territory of American Samoa",
                        "Territory of Christmas Island", "Territory of Guam",
                        "Territory of Heard Island and McDonald Islands",
                        "Territory of Norfolk Island",
                        "Territory of the Cocos (Keeling) Islands",
                        "Territory of the Wallis and Futuna Islands",
                        "The British Indian Ocean Territory",
                        "The Occupied Palestinian Territories",
                        "The Virgin Islands", "Tokelau", "Tristan da Cunha",
                        "Turks and Caicos Islands",
                        "Virgin Islands of the United States", "Wake Island",
                        "Western Sahara", "\u00c5land Islands"]
    ds = tmpdir_factory.mktemp('data').join('dataset.json')
    ds.write('making sure file is created')
    with open(str(ds), 'w') as f:
        json.dump(data_set_content, f)
    return ds