Run this function before map_metadata
This function will read in the metadata file for a chosen dataset and save
three summary outputs. The first is a table output, storing the name and
description of the dataset, and each table within it. The second is a bar
chart, summarising how many variables there are for each table, and whether
these variables have a missing description. The third is a csv file storing
the data that created this bar chart.
Value
The function will return three files, 'BROWSE_table...html', 'BROWSE_bar...html' and 'BROWSE_bar...csv' which gives summary information for this dataset. Open the two html output files in your browser and use these as reference when running the map_metadata function.
Examples
# Demo run requires no function inputs or user interaction
browse_metadata()
#>
#> ℹ Running browseMetadata in demo mode using package data files
#>
#>
#> ℹ Processing Table 1 of 13 (EXAM)
#>
#> ℹ Processing Table 2 of 13 (CHILD)
#>
#> ℹ Processing Table 3 of 13 (REFR_IMM_VAC)
#>
#> ℹ Processing Table 4 of 13 (IMM)
#>
#> ℹ Processing Table 5 of 13 (BREAST_FEEDING)
#>
#> ℹ Processing Table 6 of 13 (PATH_BLOOD_TESTS)
#>
#> ℹ Processing Table 7 of 13 (CHE_HEALTHYCHILDWALESPROGRAMME)
#>
#> ℹ Processing Table 8 of 13 (BLOOD_TEST)
#>
#> ℹ Processing Table 9 of 13 (CHILD_TRUST)
#>
#> ℹ Processing Table 10 of 13 (PATH_SPCM_DETAIL)
#>
#> ℹ Processing Table 11 of 13 (CHILD_MEASUREMENT_PROGRAM)
#>
#> ℹ Processing Table 12 of 13 (CHILD_BIRTHS)
#>
#> ℹ Processing Table 13 of 13 (SIG_COND)
#>
#> ℹ Three outputs have been saved to your output directory.
#> ℹ The two html files are shown in your Viewer tab. Open in your browser for full screen viewing.
#>
#> $table_html
#>
#> $barplot_html
#>