View source: R/sn_export_checked.R
sn_export_checked_legacy | R Documentation |
Exports checked file for further analysis
sn_export_checked_legacy(
gisco_id = NULL,
country = NULL,
source = "fixed_csv",
additional_properties = c("P39", "P509", "P140", "P611", "P411", "P241", "P410", "P97",
"P607", "P27", "P172"),
include_image_credits = TRUE,
unlist = FALSE,
lau_year = 2020,
fixed_folder = "sn_data_fixed",
export_folder = "sn_data_export",
export_format = NULL,
cache = NULL,
language = tidywikidatar::tw_get_language(),
overwrite_cache = FALSE,
cache_connection = NULL,
disconnect_db = TRUE
)
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. |
source |
Source for data. Valid values include "database" and "fixed_csv". |
unlist |
Defaults to FALSE. If TRUE, all data are unlisted in place, with values separated by a ';'. |
fixed_folder |
Base location of folder where csv files with manual fixes are stored. They can be located in subfolders. |
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 |
Character vector, defaults to NULL. If given, it exports outputs in the given format. Available values include "csv" and "geojson". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.