as.EurostatDataList {eurodata} | R Documentation |
Coerce a data.frame to a EurostatDataList
Description
Some manipulations of the EurostatDataList
data.frame
(imported with importDataList
)
e.g. filtering with package dplyr may remove the S3 class tag
EurostatDataList
. This function coerces it back to EurostatDataList
after checking that the critical columns
(PCode
, Dataset name
,Link
) are present. This is useful
if a user wants to print and browse this filtered data.frame as a specially
formatted HTML table.
Usage
as.EurostatDataList(x, SearchCriteria = "", ...)
Arguments
x |
A (most likely filtered subset of) |
SearchCriteria |
A string describing the search criteria used for filtering/subsetting. |
... |
Additional arguments to be passed to or from methods (currently not used). |
Value
A data.frame of S3 class EurostatDataList
.
[Package eurodata version 1.7.0 Index]