Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/humangraphics/python-sample-enrich-names-csv
Use HumanGraphics API to enrich name-containing records in a CSV file with Python
https://github.com/humangraphics/python-sample-enrich-names-csv
demographics-data humangraphics name-parsing python3 sscce
Last synced: 12 days ago
JSON representation
Use HumanGraphics API to enrich name-containing records in a CSV file with Python
- Host: GitHub
- URL: https://github.com/humangraphics/python-sample-enrich-names-csv
- Owner: humangraphics
- Created: 2023-09-11T03:33:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-11T14:21:48.000Z (over 1 year ago)
- Last Synced: 2024-11-05T12:21:46.342Z (about 2 months ago)
- Topics: demographics-data, humangraphics, name-parsing, python3, sscce
- Language: Jupyter Notebook
- Homepage: https://www.humangraphics.io/
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Sample: Enrich Names CSV
This repository contains an example [Python3](https://www.python.org/) [Jupyter
Notebook](https://jupyter.org/) that uses the
[HumanGraphics](https://www.humangraphics.io)
[API](https://developer.humangraphics.io) to enrich name-containing records stored in CSV.## Setup
The notebook uses `$HOME/.humangraphics` as a special file for storing credentials. The `.humangraphics.example` file shows the format of that file. Before running the notebook, users should copy the example file to their local `$HOME` directory, rename it to `.humangraphics`, and fill in the appropriate facts with values from their HumanGraphics subscription.
## Files
* `.humangraphics.example` -- An example credentials file.
* `records.example.csv` -- An example set of names to enrich. Users can add and remove columns as needed as long as the `name` column remains and stores the name to process. Any additional columns are passed through to the result.
* `enriched-records.example.csv` -- An example output of the notebook for the given example inputs.