Querying Commands
Introduction
mbpy <MODE> <extractor> <LOADER> [<chain1> <chain2> <chainN> โฆ]Extractors
โญโ Extractors โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ from-csv Define the path to csv file โ
โ from-excel Define the path to csv file โ
โ from-excel-dl Extract dataframes from excel downloads available in โ
โ ManageBac. Algorithm auto-detects columns and adds title โ
โ column โ
โ from-db-connect use raw sql โ
โ from-db Select entities (and associated entities), fields โ
โ from-pipeline Use pipelines as an extraction tool for more sophisticated โ
โ data management. โ
โ from-api Pass a name like students, classes, academic_info_grades โ
โ from-external-api Call out to a list endpoint. Default values work for OA V3 โ
โ students list endpoint. For OA, use --bearer and pass in โ
โ the bearer via environment variable token after โ
โ /oauth/token call. FIXME: Add this here โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏLoaders
Chains
Chain Commands List
Grouping, aggregation, and transformations
Merge, join, and concatenation
Selection and Filtering
Reshaping and pivoting
Output
Debugging and Inspection
Miscellaneous
Last updated
Was this helpful?