Skip to contents

Lists a Finnish Social Science Data Archive study's title, DOI, access restriction, and data-file inventory (name, format, case/variable counts) via its open DDI-C 2.5 XML metadata record. There is no file-level download here – the DDI record carries no download URI, and actual data access requires Haka/Aila login or a per-dataset access application (see the file header comment) – so files is for REPORTING what a study contains, not for download_repo_files() to fetch.

Usage

fsd_info(fsd_url, id_col = 1, pb = NULL, cache = FALSE)

Arguments

fsd_url

an FSD URL (catalogue page, DOI, or URN), or a table containing them (e.g., as created by fsd_links())

id_col

the index or name of the column that contains FSD URLs, if fsd_url is a table

pb

a progress bar passed from another function

cache

if TRUE, reuse a cached listing from a prior call for the same study instead of re-querying FSD (see repo_info_cache_clear()); default FALSE

Value

a data frame of information

Examples

# \donttest{
if (online("services.fsd.tuni.fi")) {
  fsd_info("https://services.fsd.tuni.fi/catalogue/FSD2653")
}
#>                                          fsd_url
#> 1 https://services.fsd.tuni.fi/catalogue/FSD2653
#>                              FSD_title            FSD_doi
#> 1 Finnish National Election Study 2011 10.60686/t-fsd2653
#>                                                       FSD_access
#> 1 The dataset is (B) available for research, teaching and study.
#>                                    files
#> 1 daF2653e.por, SPSS Portable, 1298, 492
# }