Giter Site home page Giter Site logo

cn_zipcode's Introduction

cn_zipcode

cn_zipcode 是一个**邮编数据库,包含了从网上爬取的邮编数据


使用方法

1. 创建数据库

我测试使用的是MariaDB

CREATE DATABASE `zip` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

2. 创建表

使用 zip_code.sql 中的建表语句创建表

3. 插入数据

使用 zip_code_insert_value.sql 中的insert语句插入数据


表结构展示

code province city district area
200333 上海市 辖区 普陀区 大渡河路(单1175-9999#双1122-9999#)
230061 安徽省 合肥市 包河区 屯溪路

|


##注意事项

  1. 数据量有80多万条,建议建表时根据实际使用情况创建索引
  2. 建议使用UTF-8编码

cn_zipcode's People

Contributors

grezbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.