Ejemplo n.º 1
0
def pos_opened(country, start=None, end=None, f=None, interval='month'):
    g = [] if f is None else deepcopy(f)
    g.append(Q('term', doctype='pos'))
    return _systems_opened.df(country,
                              start=start,
                              end=end,
                              f=g,
                              interval=interval)
Ejemplo n.º 2
0
def df_start(country, start=None, end=None, f=None, interval='month'):
    open_now = df_open_now(country, end=end, f=f, interval=interval)
    opened = systems_opened.df(country,
                               start=start,
                               end=end,
                               f=f,
                               interval=interval)
    closed = systems_closed.df(country,
                               start=start,
                               end=end,
                               f=f,
                               interval=interval)
    df = open_df.open_df(opened, closed, open_now, interval, 'start')
    return df
Ejemplo n.º 3
0
def systems_opened(country, start=None, end=None, f=None, interval='month'):
    return _systems_opened.df(country,
                              start=start,
                              end=end,
                              f=f,
                              interval=interval)