get_cefas_dataset_fields: List fields for a given CEFAS API data source

Description Usage Arguments Details Value Examples

Description

The function returns the fields for the csv files that can be accessed via the CEFAS API.

Usage

1

Arguments

recordset_id

is an ID number for the recordset the fields are to be extracted for.

Details

get_cefas_dataset_fields takes one argument recordset_id. It returns all fields for the corresponding csv file, if it does exist. The list of csv files and their corresponding recordset ids can be found be running the function get_cefas_datasets and extracting the to_download object.

Value

a fields data.frame containg the name of all fields, an Id reference for each field, the type of information it contains, the exact column name and information about minimum/maximum values

Examples

1
2
3
mydata <- get_cefas_datasets()
mydownloadable <- mydata$to_download
get_cefas_dataset_fields(mydownloadable$Id[1])

MarineEcosystemResearchProgramme/merpWS documentation built on May 7, 2019, 2:51 p.m.