powered by
Extract content from Datamuse API call.
get_content(full_path, return_type = "df", limit = 10)
content returned from API call.
API path to append to Datamuse API endpoint.
type to return. Options are:
'df' for data.frame.
'word' for a single word.
'random_word' or 'random word' or 'rand' for a random word.
'vector' for a vector of words.
max number of rows to return from the content dataframe.
get_content("/words?rel_rhy=test", limit = 5) get_content("/words?ml=test", limit = 20)
Run the code above in your browser using DataLab