csv_convert: Convert data from sqlite3 database into a csv file of curated...

View source: R/meta.R

csv_convertR Documentation

Convert data from sqlite3 database into a csv file of curated SeaFlow data for a cruise, along with metadata files.

Description

Convert data from sqlite3 database into a csv file of curated SeaFlow data for a cruise, along with metadata files.

Usage

csv_convert(db, meta, path, cruisename, version = "v1.0")

Arguments

db

SQLite3 database file path.

meta

metadata containing cruise ID (provided by googlesheet "SeaFlow log instrument")

path

Path to save the file.

version

Version of the dataset.

Value

None

Examples

## Not run: 
# load metadata to get offical cruise name
 meta <- googlesheets4::range_read('https://docs.google.com/spreadsheets/d/1Tsi7OWIZWfCQJqLDpId2aG_i-8Cp-p63PYjjvDkOtH4/edit#gid=0')
csv_convert(db,meta, path)

## End(Not run)

armbrustlab/popcycle documentation built on April 1, 2024, 2:41 p.m.