X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=mig-xml%2Fexcel_mapping_reports.xml;h=2c101b735f9946dc178e0c60aba1a67e2e518788;hp=397f2143424201c9fb57705d33e98373ee07cde8;hb=49c84ca86a91a97007c975eff40d50890cc46fbb;hpb=e092916cfb7e0dcabe3de25c965c4b23f8409130
diff --git a/mig-xml/excel_mapping_reports.xml b/mig-xml/excel_mapping_reports.xml
index 397f214..2c101b7 100644
--- a/mig-xml/excel_mapping_reports.xml
+++ b/mig-xml/excel_mapping_reports.xml
@@ -67,23 +67,16 @@
tlc
0
Count.Note Type.Notes
- SELECT COUNT(l_itemcomment), 'Item Comments' FROM ititeminformation_tsv_clean WHERE l_itemcomment IS NOT NULL GROUP BY 2
- UNION ALL SELECT COUNT(l_physicalcondition), 'Condition Notes' FROM ctlocitem_tsv_clean WHERE l_physicalcondition IS NOT NULL GROUP BY 2
- UNION ALL SELECT COUNT(l_checkinoutnote), 'Circ Notes' FROM ctlocitem_tsv_clean WHERE l_checkinoutnote IS NOT NULL GROUP BY 2
+ SELECT COUNT(l_itemcomment)::TEXT, 'Item Comments' FROM ititeminformation_tsv_clean WHERE l_itemcomment IS NOT NULL GROUP BY 2
+ UNION ALL SELECT COUNT(l_physicalcondition)::TEXT, 'Condition Notes' FROM ctlocitem_tsv_clean WHERE l_physicalcondition IS NOT NULL GROUP BY 2
+ UNION ALL SELECT COUNT(l_checkinoutnote)::TEXT, 'Circ Notes' FROM ctlocitem_tsv_clean WHERE l_checkinoutnote IS NOT NULL GROUP BY 2
+ UNION ALL (SELECT DISTINCT 'Sample Item Comment', l_itemcomment FROM ititeminformation_tsv_clean WHERE l_itemcomment IS NOT NULL LIMIT 20)
+ UNION ALL (SELECT DISTINCT 'Sample Physical Condition', l_physicalcondition FROM ctlocitem_tsv_clean WHERE l_physicalcondition IS NOT NULL LIMIT 20)
+ UNION ALL (SELECT DISTINCT 'Sample Circ Note', l_checkinoutnote FROM ctlocitem_tsv_clean WHERE l_checkinoutnote IS NOT NULL LIMIT 20)
- tlc_load_asset_in_house_use
- Copies With In House Uses
- tlc
- 0
- Copy Count.Sum of In House Uses.Do Not Migrate
- SELECT COUNT(l_totalinhouseuses), SUM(l_totalinhouseuses::INTEGER) FROM ititeminformation_tsv_clean WHERE l_totalinhouseuses != '0'
- TLC doesn't have dates recorded for in house use so these can only be migrated as date of migration or we can not migrate them.
-
-
-
tlc_load_asset_holdings_codes
Holdings Codes
tlc
@@ -113,15 +106,6 @@
-->
- tlc_load_asset_barcodes_with_spaces
- Count of Barcodes with Spaces
- tlc
- 0
- Count of Barcodes With Spaces.Transformation
- SELECT COUNT(l_itembarcode) FROM ititeminformation_tsv_clean WHERE l_itembarcode ~* ' '
-
-
-
tlc_load_money_migrating_bills
Migrating Bills By Bill Type
tlc
@@ -147,7 +131,7 @@
Count.Year of Expiration.Do Not Migrate?
SELECT COUNT(l_agencynumber), LEFT(l_expirationdate,4) FROM itagency_tsv_clean GROUP BY 2 ORDER BY 2
-
+
tlc_load_usrs_byactive
Patrons by Last Active Date
@@ -187,15 +171,6 @@
- tlc_load_usrs_alternate_ids
- Count of Patrons w Alt Id
- tlc
- 0
- Count.Migration Need
- SELECT COUNT(l_agencynumber) FROM itagency_tsv_clean WHERE l_alternateid IS NOT NULL
-
-
-
tlc_load_active_usr_passwords
Count of Patrons w Passwords
tlc
@@ -205,24 +180,6 @@
If any PINS are blank we will have to choose a method to supply them as Evergreen requires passwords.
-
- tlc_load_usr_barcodes_wspacess
- Barcodes with Spaces
- tlc
- 0
- Count
- SELECT COUNT(l_agencynumber) FROM itagency_tsv_clean WHERE l_barcode ~* ' '
-
-
-
- tlc_load_usr_barcode_lengths
- Barcode Lengths by Library
- tlc
- 0
- Count of Barcode.Barcode Length.Branch.Transformation Note
- SELECT COUNT(l_agencynumber), LENGTH(l_barcode), l_issuingbranch FROM itagency_tsv_clean GROUP BY 2, 3 ORDER BY 3, 2
-
-
tlc_load_usr_notes
Count of Patron Notes
@@ -233,15 +190,6 @@
- tlc_load_misc
- Miscellaneous Options
- tlc
- 0
- Count.Option.Value.Note
- SELECT COUNT(l_agencynumber), 'Create Evergreen Grouped/Family Accounts?' FROM itagency_tsv_clean WHERE l_responsibleagencynumber IS NOT NULL GROUP BY 2 UNION ALL SELECT COUNT(l_itembarcode), 'Lost Items' FROM ititemlocation_tsv_clean WHERE l_outdate IS NOT NULL AND l_status = 'L' GROUP BY 2
-
-
-
tlc_load_usr_balance
Count and Sum of Balances
tlc
@@ -250,7 +198,7 @@
SELECT COUNT(l_agencynumber), SUM(l_accountbalance::INTEGER) FROM itagency_tsv_clean WHERE l_accountbalance != '0'
If this is being migrated there are a few options of how to do it and each will have different workflows.
-
+
tlc_load_usr_stat_cats
Patron Stat Cats and Counts
@@ -752,5 +700,51 @@
+