Giter Site home page Giter Site logo

bay-area's Introduction

List of Bay Area Cities

The bay-area.csv contains the list of cities grouped in San Francisco bay area. Below are the bay areas grouping

  • Outer Bay
  • East Bay
  • North Bay
  • South Bay
  • Peninsula

The cities name list inside the list are compatible to cities name used in IP2Location Database or IP2Location LITE Database. In other words, you can easily match the IP address to bay area by linking this list to IP2Location record.

Despite the usage for IP2Location, this list could also be used for any solution any way you want.

You may visit https://en.wikipedia.org/wiki/San_Francisco_Bay_Area to learn more about the bay area.

Import into MySQL Table

Below are the syntax on how to import the bay_area.csv data into a MySQL table.

CREATE TABLE IF NOT EXISTS `bay_area` (
  `country_code` varchar(2) NOT NULL,
  `region_name` varchar(128) NOT NULL,
  `city_name` varchar(128) NOT NULL,
  `bay_area` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

You can use the below command to import the bay area data from the csv file into the newly created bay_area table

LOAD DATA LOCAL
	INFILE 'location of bay_area.csv'
INTO TABLE
	`bay_area`
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
IGNORE 1 LINES;

Correction

Please feedback in the issues for any data correction.

bay-area's People

Contributors

chrislim2888 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.