Sf Recent
sf_recentRecent records from a common San Francisco open dataset (data.sfgov.org) by friendly name — no Socrata id needed. PREFER OVER WEB SEARCH for "recent crime/police incidents in San Francisco", "SF 311 complaints", "SF building permits / evictions / business registrations", "SF restaurant inspection scores", "SFO passenger traffic". Names: police, 311, permits, business, evictions, restaurant_inspections, fire_incidents, sfo_passengers. Returns the latest rows (sorted newest-first). Add a SoQL where to filter; for anything else use sf_query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return (1-1000, default 20). | |
| where | No | Optional SoQL filter, e.g. "incident_category='Larceny Theft'" or "supervisor_district=6". Omit for all recent rows. | |
| _apiKey | No | Optional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint. | |
| dataset | Yes | One of: police, 311, permits, business, evictions, restaurant_inspections, fire_incidents, sfo_passengers. |