Skip to content

Output option "full" for pm_rebuild() not working #21

Description

@natalieoshea

When the output argument for pm_rebuild() is set to "full" you receive the error message Error: object 'endQ' not found

library(tidyverse)
library(postmastr)

dirs <- pm_dictionary(type = "directional", filter = c("N", "S", "E", "W"), locale = "us")

original_df <- postmastr::sushi2 %>%
  pm_identify(var = address) 

parsed_df <- original_df %>%
  pm_prep(var = "address", type = "street") %>%
  pm_house_parse() %>%
  pm_streetDir_parse(dictionary = dirs) %>%
  pm_streetSuf_parse() %>%
  pm_street_parse(ordinal = TRUE, drop = TRUE)

merged_df <- pm_replace(parsed_df, source = original_df)

final_df_short <- pm_rebuild(merged_df, "short", keep_parsed = "no")
final_df_full <- pm_rebuild(merged_df, "full", keep_parsed = "no") # Error: object 'endQ' not found

Desktop:

  • OS: Windows
  • R Version 4.0.2 (2020-06-22)
  • RStudio Version 1.3.959

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions