Skip to main content

geokakao

The geokakao package provides a convenient way to utilize the Kakao API for converting addresses into GeoPackages. This package allows you to extract coordinates (longitude and latitude) from provided addresses and integrate them into a DataFrame. You can then convert the enriched DataFrame back into the GeoPackage format, facilitating seamless integration of address data with geographic coordinates.

Features

  • Convert addresses to coordinates (longitude and latitude) using the Kakao API.
  • Integrate coordinate information into a DataFrame containing address data.
  • Convert the enriched DataFrame back into the GeoPackage format.

Installation

To install the geokakao package, you can use the following pip command:

pip install geokakao

Usage

Here's a simple example of how to use the geokakao package:

import geokakao as gk
import pandas as pd
# Load your DataFrame with address information
data = {'Name': ['국립공원공단 본사',
                 '국립공원연구원 본원',
                 '치악산국립공원사무소'],
        'Address': ['강원특별자치도 원주시 혁신로 22',
                    '강원특별자치도 원주시 단구로 171',
                    '강원특별자치도 원주시 소초면 무쇠점2길 26']}
df = pd.DataFrame(data)
# Convert addresses to coordinates and integrate into the DataFrame
gk.add_coordinates_to_dataframe(df, 'Address')
df.to_csv('korea_np.csv', index=False, encoding='utf-8')
# Save the enriched DataFrame to a GeoPackage file
input_csv = "korea_np.csv"
output_gpkg = "korea_np.gpkg"

gk.csv_to_gpkg(input_csv, output_gpkg)

Release files for geokakao 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geokakao 0.1.1
File Size Uploaded
geokakao-0.1.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geokakao 0.1.1
File Interpreter ABI Platform
geokakao-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / geokakao-0.1.1.tar.gz

Download URL geokakao-0.1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
41f0acec6b2672d668a17e5697e542dd67527ac34d91e083d2ea0df4c7371ce2
BLAKE2b-256 checksum
How to use checksums
c886f9c4502d69b632c62b540175d06244ad0e018e55e5bc7a693f0c0baaf72e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / geokakao-0.1.1-py3-none-any.whl

Download URL geokakao-0.1.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8e4c7a2be7e6325c464f2d9914b620b44dd5286b8a63bab69fc2819a050d010
BLAKE2b-256 checksum
How to use checksums
69921ffeca317bf59cdb0575b9d8df4a5981700ee9c22ee49d90664816d1a23c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page