Skip to content
/ usgpo Public

Tools to empower the PFTP project by scraping Congressional records.

Notifications You must be signed in to change notification settings

Jwmazzi/usgpo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U.S. Government Publishing Office to ArcGIS Online

This repository contains a simple extractor that can be used to fetch bills from the U.S. Government Publishing Office (USGPO) and push them into a Hosted Feature Layer within ArcGIS Online. Though we have not tested this tool against ArcGIS Enterprise, there is a very good chance it will work in that environment too. In addition to a Python script that can be run as a scheduled task, you will find a File Geodatabase (under /schema) that can be added to your organization to get started. Instructions are posted below if you would like to start tracking/updating bill data in your own Esri organization. Please reach out to the team of you have questions or ideas on how we can make this better.

An example of what you can build with this extractor can be found in this Story Map.

Getting Started - USGPO

  • Publish the Sponsors_Schema.zip file found in the /schema directory to ArcGIS Online as a File Geodatabase. Insert the Item ID of the newly created Hosted Feature Layer into the membs_id attribute within the configuration file.

  • Collect a free API Key to access the USGPO endpoints and put this value in the api_key attribute of the configuration file.

  • Add your login information for ArcGIS Online to the configuration file and execute the runner.py file.

About

Tools to empower the PFTP project by scraping Congressional records.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published