redback.get_data.getter.DataGetter

class redback.get_data.getter.DataGetter(transient: str, transient_type: str)[source]

Bases: object

__init__(transient: str, transient_type: str) None[source]
__call__(**kwargs)

Call self as a function.

Methods

__init__(transient, transient_type)

get_data()

Downloads the raw data and produces a processed .csv file.

Attributes

transient_type

Checks if the transient type is valid when setting.

get_data() DataFrame[source]

Downloads the raw data and produces a processed .csv file.

Returns:

The processed data

Return type:

pandas.DataFrame

property transient_type: str

Checks if the transient type is valid when setting.

Returns:

The transient type.

Return type:

str