Project name: onadata-python
This package is port of an R package associated with the free online book Handbook of Graphs and Networks in People Analytics by Keith McNulty.
At ona-book.org, McNulty makes the data referenced in Handbook of Graphs and Networks in People Analytics available via an R package. McNulty explains:
For R and Python users, each of the data sets used in this book can be downloaded individually by following the code in each chapter. Alternatively for R users who intend to work through all of the chapters, all data sets can be loaded into an R session in advance by installing and loading the onadata R package.
This package brings the functionality of McNulty's R package to Python users.
# import onadata package
import onadata as ona
import pandas as pd
# see a list of data sets
ona.list_sets()
# ona.help(koenigsberg)
# load data into a dataframe
df = ona.koenigsberg()
# find out more about a specific data set ('managers' example)
ona.koenigsberg().info()The data dictionary pertinent to all the data sets can be found here.
- MIT