Skip to content

JayHartzell/alma_inventory_to_replacement_cost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

alma_inventory_to_replacement_cost

Overview

This is a straightforward script that maps whatever value is in the inventory_price field to the replacement_cost field. It first makes a GET request to pull the item object, building each request url using the required csv file. It pulls the existing inventory_price value and maps it onto the replacement_cost field. It will overrwite any existing value in the replacement_cost field. Once the value has been mapped, a PUT request is sent back containing the altered item object.

Requirements

rw bibs api key csv file output from a physical items subject area analyses.

  • must contain the columns: Holding Id Mms Id Physical Item Id
  • output as data > csv

If you are running this in Google Colab, add a code cell at the top and run the following line of code: pip install asyncio-throttle python-dotenv

walkthrough

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published