Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mstackhouse committed Sep 5, 2024
1 parent 3ace7ac commit 70f4aa3
Show file tree
Hide file tree
Showing 15 changed files with 170 additions and 431 deletions.
17 changes: 4 additions & 13 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
# Generated by roxygen2: do not edit by hand

S3method(set_metadata_ref,data_metadata)
S3method(set_metadata_ref,datasetjson)
S3method(set_metadata_ref,default)
S3method(set_metadata_version,data_metadata)
S3method(set_metadata_version,datasetjson)
S3method(set_metadata_version,default)
S3method(set_study_oid,data_metadata)
S3method(set_study_oid,datasetjson)
S3method(set_study_oid,default)
export(data_metadata)
export(dataset_json)
export(dataset_metadata)
export(file_metadata)
export(read_dataset_json)
export(set_data_type)
export(set_as_reference_data)
export(set_dataset_label)
export(set_dataset_name)
export(set_file_oid)
export(set_item_oid)
export(set_metadata_ref)
export(set_metadata_version)
export(set_originator)
Expand Down
73 changes: 0 additions & 73 deletions data-raw/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,79 +64,6 @@ iris_items_bad <- tibble::tribble(
NA_character_, 5, 'Flower Species', 'character', 10L, 1,
)

# Code for SAS date formats
sas_date_formats <- c(
'DATE.',
'DATE9.',
'DAY.',
'DDMMYY.',
'DDMMYY10.',
'DDMMYYB.',
'DDMMYYB10.',
'DDMMYYC.',
'DDMMYYC10.',
'DDMMYYD.',
'DDMMYYD10.',
'DDMMYYN6.',
'DDMMYYN8.',
'DDMMYYP.',
'DDMMYYP10.',
'DDMMYYS.',
'DDMMYYS10.',
'DOWNAME.',
'JULIAN.',
'MMDDYY.',
'MMDDYY10.',
'MMDDYYB.',
'MMDDYYB10.',
'MMDDYYC.',
'MMDDYYC10.',
'MMDDYYD.',
'MMDDYYD10.',
'MMDDYYN6.',
'MMDDYYN8.',
'MMDDYYP.',
'MMDDYYP10.',
'MMDDYYS.',
'MMDDYYS10.',
'MMYY.',
'MMYYC.',
'MMYYD.',
'MMYYN.',
'MMYYP.',
'MMYYS.',
'MONNAME.',
'MONTH.',
'MONYY.',
'WEEKDATE.',
'WEEKDATX',
'WEEKDAY.'
)

usethis::use_data(sas_date_formats, overwrite = TRUE)

# Code for SAS datetime formats
sas_datetime_formats <- c(
'DATEAMPM.',
'DATETIME.',
'DTDATE.',
'DTMONYY.',
'DTWKDATX.',
'DTYEAR.',
'DTYYQC.'
)

usethis::use_data(sas_datetime_formats, overwrite = TRUE)

# Code for SAS time formats
sas_time_formats <- c(
'HOUR.',
'TIME.',
'TIMEAMPM.',
'TOD.'
)
usethis::use_data(sas_time_formats, overwrite = TRUE)

# Dataset JSON Schema V1.0.0 as Character Vector
schema_file <- testthat::test_path("testdata", "dataset.schema.json")
schema_1_1_0 = readChar(schema_file, file.info(schema_file)$size)
Expand Down
Binary file modified data/iris_items.rda
Binary file not shown.
36 changes: 0 additions & 36 deletions man/data_metadata.Rd

This file was deleted.

38 changes: 0 additions & 38 deletions man/data_metadata_setters.Rd

This file was deleted.

101 changes: 48 additions & 53 deletions man/dataset_json.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 0 additions & 34 deletions man/dataset_metadata.Rd

This file was deleted.

Loading

0 comments on commit 70f4aa3

Please sign in to comment.