Skip to content

Commit f172cfd

Browse files
committed
Comment
1 parent bffc14c commit f172cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/list-available-datasets.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ list_available_datasets <- function(filter, search, area) {
8888
attr(table_of_data, 'search') <- if(!missing(search)) search else NULL
8989
attr(table_of_data, 'area') <- if(!missing(area)) area else NULL
9090

91+
# Add class to the data frame to allow for customized print
9192
class(table_of_data) <- c('ucimlrepo_list_of_available_datasets', 'data.frame')
9293

93-
# Print the table of data
9494
return(table_of_data)
9595
}
9696

0 commit comments

Comments
 (0)