is_dataset | R Documentation |
Is it a dataset formatted for a SuSnowDB ? Are they all datasets formatted for a SuSnowDB ?
is_dataset( x, nn_measurement_types = default_nn_measurement_types(), nn_locations = default_nn_locations(), nn_measurements = default_nn_measurements() ) are_all_datasets( x, ..., nn_measurement_types = default_nn_measurement_types(), nn_locations = default_nn_locations(), nn_measurements = default_nn_measurements() )
x |
a generic object or a dataset, e.g. an object returned by |
nn_measurement_types |
see |
nn_locations |
see |
nn_measurements |
see see |
... |
further arguments, other object like |
library(readr) x <- system.file("west_africa_gsod_extdata/gsod_bf.csv",package="SuSnowDB") %>% read_csv() val <- gsodr_dataset(x=x) out <- is_dataset(val) val2 <- data.frame(a=3,b=1:10) out2 <- is_dataset(val2) are_all_datasets(val,val2) are_all_datasets(list(val,val2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.