-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make create_koha_csv work with array JSON
now works with either Workday-style {"Report_Entry": []} JSON or a straight array e.g. from the patch prox script ref #11
- Loading branch information
Showing
2 changed files
with
121 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,20 +6,17 @@ CCA's outline of adding new patrons before the semester: | |
- Use "create_koha_csv.py" to convert the Informer output into Koha's CSV schema | ||
- [Batch import the patron CSV](https://library-staff.cca.edu/cgi-bin/koha/tools/import_borrowers.pl) on Koha's staff side | ||
|
||
Formerly, we used separate scripts for faculty and student accounts. The data source was also Informer reports (for students) and SQL queries on the Portal database (for faculty), but now we use integrations data from Workday. | ||
|
||
## Setup | ||
|
||
1. Set up a python virtual environment & install dependencies: `pipenv --three && pipenv shell | ||
&& pipenv install` | ||
1. Set up a python virtual environment & install dependencies: `pipenv install && pipenv shell` | ||
|
||
1. Obtain access to CCA Integrations data in Google Cloud (contact the Integrations Engineer). There should be JSON files present for employees, students, and courses for recent terms. | ||
|
||
1. Obtain access to the "Accounts with Prox IDs" report in OneCard/TouchNet. Contact AIS <[email protected]>. | ||
|
||
## Sync Card Number Changes | ||
|
||
On a regular basis, we can sync card number changes from the TouchNet report to Koha, so that patrons who lost or changed their CCA ID cards will be able to use the library without updating their account. | ||
On a regular basis, we sync card number changes from the TouchNet report to Koha, so that patrons who lost or changed their CCA ID cards will be able to use the library without updating their account. | ||
|
||
1. Download the latest report of prox numbers from TouchNet | ||
|
||
|