Skip to content

Commit

Permalink
Minor fixes to the string_factor docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Jan 17, 2024
1 parent e55fed8 commit c043a2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/specifications/string_factor.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cat("# String factor (", as.character(.version), ")", sep="")
## Overview

The `string_factor` format provides an on-disk representation of a factor (i.e., enumerated type).
This is based on R's factor.
This is based on R's base factor type.

## Metadata

Expand All @@ -26,7 +26,7 @@ cat(" This should be set to \"", as.character(.version), "\".", sep="")
### Files

The directory should contain the `contents.h5` HDF5 file.
This should contain a `sting_factor` group, which should in turn contain `levels`.
This should contain a `string_factor` group, which should in turn contain `levels`.
This is a 1-dimensional string dataset containing the factor levels.
The datatype should be representable by a UTF-8 encoded string.
All levels should be unique.
Expand Down

0 comments on commit c043a2b

Please sign in to comment.