Code Monkey home page Code Monkey logo

bjdong-downloader's Introduction

bjdong-downloader

출처 - 행정표준코드관리시스템

NAME

bjdong.sh - 행정표준관리시스템에서 법정동 코드와 법정동 이름을 불러오는 스크립트

REQUIREMENTS

사용하고 계시는 운영체제에 아래 패키지가 반드시 설치되어 있어야 합니다.

wget
    웹 서버로부터 데이터를 다운로드하기 위해 필요합니다. 스크립트는 'wget'을 사용하여
    행정표준관리시스템에서 법정동 데이터를 다운로드합니다.

iconv
    문자 인코딩을 변환하기 위해 필요합니다. 다운로드된 데이터의 인코딩을 사용자의 시스템이나
    처리 로직에 맞게 변환하기 위해 'iconv'가 사용됩니다.

SYNOPSIS

sh ./bjdong.sh <target_dir> [--filter "FILTER_EXPRESSION"]

DESCRIPTION

'bjdong.sh'는 행정표준관리시스템을 통해 법정동 코드와 법정동 이름을 조회하고 필터링하는 쉘 스크립트입니다. 
사용자는 특정 필터 조건을 설정하여 관심 있는 법정동의 데이터만을 추출할 수 있습니다. 
이 스크립트는 데이터 분석, 정보 시각화, 지역 기반 서비스 개발 등 다양한 목적으로 활용될 수 있습니다.

OPTIONS

--filter "FILTER_EXPRESSION"
    사용자가 지정한 필터 조건을 적용합니다. 이 옵션은 큰따옴표(") 안에 필터링하고자 하는 조건을 문자열 형태로 지정해야 합니다. 
    예를 들어, 서울특별시 종로구에 해당하는 데이터만 필터링하고자 할 때는 --filter "서울특별시 종로구"와 같이 지정합니다.

EXAMPLES

일반 사용 예:
    sh ./bjdong.sh .

필터 조건을 사용하는 예:
    sh ./bjdong.sh . --filter "서울특별시 종로구"

이 스크립트는 필터 조건을 사용하여 사용자가 원하는 특정 데이터를 추출할 때 유용합니다.

OUTPUT

출력 결과는 output <target_dir> 디렉터리에 bjdong-{timestamp}.csv 형태로 저장됩니다.
csv 의 컬럼은 차례대로 법정동코드(code), 법정동명(csv), 존재여부(etc) 입니다.

bjdong-downloader's People

Contributors

jehwanyoo avatar

Watchers

 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.