MARIO
  • MARIO
  • Download and installation
  • Contributors
  • Terminology
  • Handling databases
  • MARIO example gallery
  • API Reference
    • Analyzing database
    • Database modification
    • Shock analysis
    • Data visualization
    • Get excels
    • Save data
    • Database parsers
    • Calculations
    • Metadata
    • Test
    • Directory
    • Utilities
      • mario.CoreModel.search
      • mario.slicer
    • Logging
MARIO
  • API Reference
  • mario.CoreModel.search
  • View page source

mario.CoreModel.search

CoreModel.search(item, search, ignore_case=True)

Searches for specific keywords in a given item

Parameters:
  • item (str) – specific level of information like Region, Satellite account, Secotr, …

  • search (str) – a keyword to search

  • ignore_case (bool) – if True will ignore uppercase and lowercase sensitivity

Returns:

a list of items found in the search

Return type:

list

Previous Next

© Copyright 2021, MARIO Authors: Mohammad Amin Tahavori, Lorenzo Rinaldi, Nicolo Golinucci.

Built with Sphinx using a theme provided by Read the Docs.