Skip to content

Instantly share code, notes, and snippets.

@ivelasq
Created May 3, 2023 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivelasq/167545d7f62e5cff37e0f0f4405f064a to your computer and use it in GitHub Desktop.
Save ivelasq/167545d7f62e5cff37e0f0f4405f064a to your computer and use it in GitHub Desktop.
library(charlatan)
set.seed(1234)
(z <- AddressProvider$new('nl_NL'))
address_list <- purrr::map(1:5, function(x) {
dplyr::bind_cols(
building = z$building_number(),
street = z$street_address(),
city = z$city(),
zip = z$postcode()
)
})
dplyr::bind_rows(address_list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment