read_meta: Read the metadata file for a project

Description Usage Arguments Details Value See Also

Description

Read the metadata file for a project

Usage

1
read_meta(project, from.dat1 = FALSE)

Arguments

project

path to the project directory

from.dat1

boolean, wether to skip the metadata tables and read data from the header of dat1.txt files

Details

First guess the type of project from its name. If the project is a UVP project, read the file in meta and return the result. If the project is a Zooscan project, read the two files in Zooscan_meta (one for the samples and one for the scans), join the information in a single data.frame, and return it. If the metadata tables do not exist, or if from.dat1 is TRUE, read the meta data from the header of the dat1.txt files.

In addition to just reading the data, a basic processing is done: names are homogenised between dat1 files and the metadata table and dates are parsed.

Value

A data.frame with data appropriate for the type of project.

See Also

Other project data handling functions: read_ids, read_learning_set, read_particles_profiles, read_variables


jiho/zooprocessr documentation built on May 19, 2019, 10:31 a.m.