strr_housing | R Documentation |
strr_housing
takes an STR property file and adds a 'housing' field.
strr_housing(property, property_type = property_type)
property |
An STR property file. |
property_type |
The name of a field identifying the type of property a listing is located in. |
A function for adding a 'housing' field to an STR property file. The function reads the 'property_type' fields and categorizes the values into either housing or not housing.
The output will be the input 'property' table, but with an additional 'housing' field added, with TRUE or FALSE values indicating if a given listing is located in housing (TRUE) or in a dedicated tourist accommodation facility such as a hotel or B&B (FALSE).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.