Skip to main content

Author and Affiliation retrieval for Whyis

Project description

whyis_author_affiliation_agent

Installation

  • install whyis 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whyis_author_affiliation_agent-0.0.1.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page