1. Support Center
  2. Liberator Python User's Guide & Recipes

How do I know which datasets I have access to? (FAQ-p11)

Liberator has a built in command for accessing your permissions, the schema for all datasets that you are permissioned to access and the details of each dataset (a simple description including start dates, symbology etc).

List all the datasets that I am entitled to…

liberator.datasets(entitled = True)

Receive a json list of all currently permitted datasets

List all the datasets that I am not currently entitled to…

liberator.datasets(entitled = False)

Receive a json list of all datasets, including the ones that you are entitled to and those that you are not.

List the details of a specific dataset…

liberator.datasets(details = True)('daily_bars')

Get a detailed description of a specific dataset, replace ‘daily_bars’ with the name of the dataset you are interested in.

List the schema/data dictionary of a specific dataset…

liberator.datasets(schema = True)('daily_bars')

Get the full schema for a specific dataset, replace ‘daily_bars’ with the name of the dataset you are interested in.