Metadata-Version: 2.1
Name: whyis-author-affiliation-agent
Version: 0.0.1
Summary: Author and Affiliation retrieval for Whyis
Home-page: https://github.com/roryschadler/whyis_author_affiliation_agent
Author: Rory Schadler
Author-email: rory.h.schadler.21@dartmouth.edu
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5.2
Description-Content-Type: text/markdown
Requires-Dist: rdflib
Requires-Dist: geopy

# whyis_author_affiliation_agent

## Installation
- install [whyis](http://tetherless-world.github.io/whyis/install) using this command
  ```
  WHYIS_BRANCH=master bash < <(curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/master/install.sh)
  ```
- whyis will be installed in /apps/whyis

- In your knowledge graph directory, add the author affiliation agent to the list of inferencers in your config.py file:
  * Add the following import line: `import whyis_author_affiliation_agent.affiliation_agent as aa`
  * Add the following line to the `inferencers` item in the `Config` dictionary constructor: `"AffiliationAgent": aa.AffiliationAgent()`

- Run `authoraffiliationsetup -e email [-u arcgis_username -p arcgis_password -r referer]` to set up your credentials for requesting author and affiliation data.
  * The ArcGIS username and password are optional, but without them you may be unable to retrieve affiliation location data
  * The referer flag is optional

- Run `authoraffiliationtest` to test the installation is working properly

- Reload your knowledge graph to run the inferencer over it


