Skip to content

A set of scripts to help administer Workforce projects.

License

Notifications You must be signed in to change notification settings

airyadriana/workforce-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workforce Scripts

A set of Python scripts and notebooks to help administer and configure Workforce projects.

Notebooks

Several example Jupyter notebooks are provided to demonstrate some more advanced workflows that are possible via the ArcGIS API for Python and Workforce:

Notebooks used for previous demos are also available:

Scripts

Supports:

  • Python 3.5+
  • Python API for ArcGIS 1.4.1+

A set of Python scripts using the ArcGIS API for Python v1.4.1+. These scripts support Workforce in both ArcGIS Online and ArcGIS Enterprise.

Features

Functionality Script
Create Assignment Types create_assignment_types.py
Import Workers import_workers.py
Import Dispatchers import_dispatchers.py
Create Assignments From CSV create_assignments_from_csv.py
Copy Assignments To Feature Service copy_assignments_to_fs.py
Export Assignments to CSV export_assignments_from_csv.py
Check Assignment Completion Location check_completion_location.py
Delete Assignments delete_assignments.py
Delete Assignment Types create_assignment_types.py
Assignment Monitor (Slack Integration) assignment_monitor.py

Instructions

  1. Install ArcGIS API for Python package as described here.
  2. Clone or download this repository
  3. In terminal/cmd navigate to the scripts folder
  4. Install arrow from PyPi using pip and the requirements.txt file (pip install -r requirements.txt)
  5. You should now be able to run all scripts in the scripts folder (provided you use the correct arguments)

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2020 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.

About

A set of scripts to help administer Workforce projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 98.9%
  • Python 1.1%