Extracts id from filename

ExtractId(sample = NULL, htmlLocation = NULL, project = NULL,
  website = NULL)

Arguments

sample

Defaults to NULL. If given, it must be an integer corresponding to the desired sample size.

htmlLocation

Path to folder where html files, tipically downloaded with DownloadContents(links) are stored. If not given, it defaults to the `Html` folder inside project/website folders.

project

Name of 'castarter' project. Must correspond to the name of a folder in the current working directory.

website

Name of a website included in a 'castarter' project. Must correspond to the name of a sub-folder of the project folder.Defaults to NULL. If no website is provided, exported files are saved in the project/Outputs folder.

Value

A vector of the integer class.

Examples

# NOT RUN {
id <- ExtractId(project, website)
# }