# Statistics and Text Mining for Oil and Gas Papers from OnePetro Metadata

## Documentation for package ‘petro.One’ version 0.2.3

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

petro.One-package | Text mining and statistics for OnePetro papers petro.One
custom_stopwords | Default custom stop words
discipline_labels | Discipline and Subject labels dataset
generate_offline_data | Generate data for offline testing Mockup test data
get_papers_count | Number of paper for a given query
get_term_document_matrix | A TermDocumentMatrix corpus objects
get_top_term_papers | Get papers for top "N" terms
join_keywords | Get paper count and paper dataframe by joining keywords as vectors
make_search_url | Make a search URL for OnePetro
onepetro_page_to_dataframe | Reads a OnePetro URL and converts it to a dataframe
papers_by_publication | Papers by publication
papers_by_publisher | Papers by publisher
papers_by_type | Summary by document type
papers_by_year | Papers by Year
plot_bars | Plot frequency distribution with horizontal bara
plot_cluster_dendrogram | Plot a dendrogram
plot_relationships | Plot a relationship diagram with weights
plot_wordcloud | Plot a word cloud
read_multidoc | Read all OnePetro papers metadata by type of document
read_multipage | Reads metadata in groups of 1000 papers
read_onepetro | Read OnePetro web page given a query URL
remove_duplicates_by | Remove duplicate papers by a variable
run_papers_search | Run a papers search providing multiple keywords and optionally save results.
summary_by_dates | Summary by year
summary_by_doctype | Summary by document type
summary_by_publications | Summary by publication
summary_by_publisher | Summary by publisher
term_frequency | Word Frequency Dataframe
term_frequency_n_grams | Find the frequency for two or more words together
use_example | Unpack an example