View source: R/sn_export_checked.R
sn_export | R Documentation |
Exports data for a country or a municipality
sn_export(
gisco_id = NULL,
country = NULL,
street_name = NULL,
keep_only_latest = TRUE,
only_checked = TRUE,
include_checked_elsewhere_in_country = FALSE,
streets_sf = NULL,
remove_ignored = TRUE,
additional_properties = c("P39", "P509", "P140", "P611", "P411", "P241", "P410", "P97",
"P607", "P27", "P172"),
include_image_credits = TRUE,
unlist = FALSE,
lau_year = 2020,
export_folder = "sn_data_export",
export_format = NULL,
write_file = FALSE,
cache = TRUE,
language = tidywikidatar::tw_get_language(),
overwrite_cache = FALSE,
connection = NULL,
disconnect_db = FALSE
)
gisco_id |
Defaults to NULL. If given, a valid code starting with a two letter country code. Either 'gisco_id' or 'country' must be given. |
country |
Defaults to NULL. If given, must be a two-letter code. Returns data only for the given country. |
unlist |
Defaults to FALSE. If TRUE, all data are unlisted in place, with values separated by a ';'. |
export_folder |
Defaults to 'sn_data_export', created if not existing, overwrite files by default. If set to TRUE, unlist is also automatically set to TRUE. |
export_format |
Defaults to NULL. Valid values include "csv", "geojson", "rds", "rds_sf" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.