# I tried a bunch of other things and this is the only one that matched :facepalm:
if"coming soon"instore['name'].lower():# store['comingsoondate']: # not store['dine_in'] and not store['takeout']: # not store['opendate']: # store['comingsoondate']:
# print(f"{store['name']} not yet open")
continue
stores.append({
"type":"Feature",
"geometry":{
"type":"Point",
"coordinates":[float(store['longitude']),float(store['latitude'])],# yes, [lon, lat] since it's [x, y]
},
"properties":{
'address':store['address1'],
'city':store['city'],
'state':store['state'],
'zip':store['postalcode'],
'website':store['url'],
},
})
count+=1
print(count)
ifnotcount==s['properties']['num_stores']:
print(f"Inequal for {state}: {count} != {s['properties']['num_stores']}")