Terms starting with R
The random module or random library allows one to generate random output. The module is useful for to choose a random element from a list, or number from a range, or between two potential values (like True or False).
images of a specific location that represent visually continuous data such as temperature and elevation at a given resolution. Higher resolutions mean more precision but also larger file size. Raster layers have no Attribute Table; the values are stored within the image and represented as different hues or colors. Raster images can also be used for reference or aesthetic purposes (e.g. satellite photos).
“Raw” data is yet to be processed, meaning it has yet to be manipulated by a human or computer. Received or collected data could be in any number of formats, locations, etc.. It could be in any of the forms listed in the previous section.
But “raw” data is a relative term, inasmuch as when one person finishes processing data and presents it as a finished product, another person may take that product and work on it further, and for them that data is “raw” data.
A powerful way to match text in a document, with a sequence of characters that define a search pattern.
remote - An adjective describing a computer that is somewhere else. A “remote machine” is a machine you do not have physical access to, but might have access through a means such as the internet. In Git, a remote is a repository that is not on your computer, but is connected to your local repository. You can add new remotes with the
git remote add command, and change them with the
gitremote set-url command.
REPL stands for Read, Eval, Print, Loop. It is also known as the Python Interpreter or Interactive Shell, and it refers to a Python environment that processes your code as soon as you press enter. First, it Reads your code, then Evaluates what you wrote, then Prints the result (if there is a result), and finally Loops back to the initial prompt, allowing the user to start the loop again.
The REPL is useful for testing code on the fly, seeing if it works or what will happen. Since the REPL doesn’t save your data after each session, though, you need a text editor to write and save longer scripts. Think of the REPL as a sandbox or playpen for exploring Python commands and expressions in the moment.
To use the REPL, just type
python into your interpreter. You’ll know you’re there when you see the three
>>>. To get out of the REPL, press
control-d or type
Git uses the term repository to refer to a folder that is being tracked. Colloquially, this term is often shortened to “repo”.
The requests module or requests library allows users to make requests to web pages. It is a useful tool for web scraping, and though it’s relatively easy to get started, the learning curve can be steep. To use requests, import the module into your script, then set up a response object. In the parenthesis, include the URL of the webpage you want to scrape, enclosed by single quotes.
import requests x = requests.get('<websiteURL>')
the scale at which the data is aggregated and displayed. For raster data this will be the size of the pixel. For vector data it is referring to the scale or mapping unit (e.g. neighborhood level, city level, state level, etc).
A core principle in the Belmont Report that stipulates that “individuals should be treated as autonomous agents, and second, that persons with diminished autonomy are entitled to protection.” A key concern when applying this principle is informed consent (source: The Belmont Report.
The root is the top-level directory of a filesystem. Staying with the tree metaphor to represent a hierarchical structure, if the root is the starting point, the folders are the tree’s branches, and thee files are the leaves. Please note that “root” is also often used as a synonym for the administrative user on a system.
The root element is used in HTML to denote the outermost element that organizes all the content of an HTML document. For example, in the code below,
<html lang="en"> denotes the opening tag of the root element and
</html> denotes the closing tag of the root element.
<!DOCTYPE html> <html lang="en"> <head> ... </head> <body> ... </body> </html>