Extrai o progresso de um PL

get_progresso(full_proposicao_df, full_tramitacao_df)

Arguments

full_proposicao_df

Dataframe da proposição do PL.

full_tramitacao_df

Dataframe da tramitação do PL.

Value

Dataframe e contendo id, fase global, data de inicio e data de fim (data atual, se nao houver fim)

Examples

etapas <- list() etapas %<>% append(list(process_etapa(1635730, "camara", fetch_agenda_geral('2018-07-03', '2018-07-10'))))
#> Error in etapas %<>% append(list(process_etapa(1635730, "camara", fetch_agenda_geral("2018-07-03", "2018-07-10")))): could not find function "%<>%"
etapas %<>% append(list(process_etapa(126084, "senado", fetch_agenda_geral('2018-07-03', '2018-07-10'))))
#> Error in etapas %<>% append(list(process_etapa(126084, "senado", fetch_agenda_geral("2018-07-03", "2018-07-10")))): could not find function "%<>%"
etapas %<>% purrr::pmap(dplyr::bind_rows)
#> Error in etapas %<>% purrr::pmap(dplyr::bind_rows): could not find function "%<>%"
get_progresso(etapas$proposicao, etapas$fases_eventos)
#> Error in UseMethod("select_"): no applicable method for 'select_' applied to an object of class "NULL"