A script to parse a great article by Eater SF and output a CSV with a row per bar/restaurant.
Each entry will have:
{
neighborhood: enum, // a bay area neighborhood
category: enum, // the categories are standardized from the Eater SF article
name: string, // name of restaurant
link: UrlString,
description: string,
address: string
}
source: https://sf.eater.com/2016/7/28/11706330/best-date-spots-restaurants-bars-cafes-san-francisco
To generate your own restaurant CSV, first clone the repo.
Then, run:
$ npm install
Then, run:
$ node index.js
All logic lives in index.js
. Feel free to change to your heart's content.