I'm using PHP to access the NYS Attorneys data. This query works for the zip field:
https://data.ny.gov/resource/cdhq-buk7.json?$select=first_name, last_name, company_name, street_1, street_2, city, county, state, zip, zip_plus_four, judicial_department_of_admission, law_school, phone_number, year_admitted, status&$where=zip like '1403%'&$order=zip, last_name&$limit=50&$offset=0
However, this query for the last_name filed returns no data:
https://data.ny.gov/resource/cdhq-buk7.json?$select=first_name, last_name, company_name, street_1, street_2, city, county, state, zip, zip_plus_four, judicial_department_of_admission, law_school, phone_number, year_admitted, status&$where=lower(last_name) like 'smith%'&$order=last_name&$limit=50&$offset=0
I would appreciate any suggestions. Thanks, Jim...